We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9141f9c commit 8a0fd3dCopy full SHA for 8a0fd3d
ci/steps/publish-npm.sh
@@ -137,7 +137,10 @@ main() {
137
# Use the development package name
138
# This is so we don't clutter the code-server versions on npm
139
# with development versions.
140
- jq ".name |= \"$PACKAGE_NAME\"" package.json
+ # jq can't edit in place so we must store in memory and echo
141
+ local contents
142
+ contents="$(jq ".name |= \"$PACKAGE_NAME\"" package.json)"
143
+ echo "${contents}" > package.json
144
popd
145
fi
146
0 commit comments