We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83c3453 commit c088e73Copy full SHA for c088e73
ci/build/npm-postinstall.sh
@@ -124,10 +124,11 @@ main() {
124
}
125
126
install_with_yarn_or_npm() {
127
+ echo "User agent: ${npm_config_user_agent-none}"
128
# NOTE@edvincent: We want to keep using the package manager that the end-user was using to install the package.
129
# This also ensures that when *we* run `yarn` in the development process, the yarn.lock file is used.
130
case "${npm_config_user_agent-}" in
- npm*)
131
+ *npm*)
132
if [ -f "yarn.lock" ]; then
133
echo "yarn.lock file present, running in development mode. use yarn to install code-server!"
134
exit 1
0 commit comments