ci-scripts: add -j flag to jq command

pull/780/head
pabloFuente 2023-03-03 18:25:47 +01:00
parent 0334147690
commit 6d62d091df
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ fi
# -------------
if [[ "${BUMP_NPM_DEPENDENCY_VERSION}" == true ]]; then
pushd ${PROJECT_PATH}
tmp=$(mktemp) && jq ".dependencies.\"${DEPENDENCY}\" = \"${VERSION}\"" package.json >"$tmp" && mv "$tmp" package.json
tmp=$(mktemp) && jq -j ".dependencies.\"${DEPENDENCY}\" = \"${VERSION}\"" package.json >"$tmp" && mv "$tmp" package.json
# npm install "${DEPENDENCY}@${VERSION}" --save-exact=true --legacy-peer-deps
popd
fi