Skip to content

Commit 30fe951

Browse files
committed
fix: use proper npm casing postinstall
1 parent 83c3453 commit 30fe951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/build/npm-postinstall.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ install_with_yarn_or_npm() {
127127
# NOTE@edvincent: We want to keep using the package manager that the end-user was using to install the package.
128128
# This also ensures that when *we* run `yarn` in the development process, the yarn.lock file is used.
129129
case "${npm_config_user_agent-}" in
130-
npm*)
130+
*npm*)
131131
if [ -f "yarn.lock" ]; then
132132
echo "yarn.lock file present, running in development mode. use yarn to install code-server!"
133133
exit 1

0 commit comments

Comments
 (0)