Skip to content

Commit c2c7845

Browse files
committed
fixup: use jq correctly
1 parent 85a7987 commit c2c7845

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ci/steps/publish-npm.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,7 @@ main() {
145145
# Use the development package name
146146
# This is so we don't clutter the code-server versions on npm
147147
# with development versions.
148-
updated_package_json="$(jq '.name = "$PACKAGE_NAME"' package.json)"
149-
echo -E "${updated_package_json}" > package.json
148+
jq ".name |= \"$PACKAGE_NAME\"" package.json
150149
popd
151150
fi
152151

0 commit comments

Comments
 (0)