Skip to content

Commit 7579dbb

Browse files
committed
refactor: add --no-default-rc for yarn install
1 parent f779d85 commit 7579dbb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ci/build/npm-postinstall.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ symlink_asar() {
9292
vscode_yarn() {
9393
echo 'Installing Code dependencies...'
9494
cd lib/vscode
95-
yarn --production --frozen-lockfile
95+
yarn --production --frozen-lockfile --no-default-rc
9696

9797
symlink_asar
9898

ci/dev/postinstall.sh

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ install-deps() {
77
if [[ ${CI-} ]]; then
88
args+=(--frozen-lockfile)
99
fi
10+
if [[ "$1" == "lib/vscode"]]; then
11+
args+=(--no-default-rc)
12+
fi
1013
# If there is no package.json then yarn will look upward and end up installing
1114
# from the root resulting in an infinite loop (this can happen if you have not
1215
# checked out the submodule yet for example).

0 commit comments

Comments
 (0)