Skip to content

Commit 7ddff61

Browse files
committed
Patch yarnInstall for openvscode-release
1 parent 278ed1e commit 7ddff61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: build/npm/postinstall.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function yarnInstall(dir, opts) {
5353
console.log(`Installing dependencies in ${dir} inside container ${process.env['VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME']}...`);
5454

5555
opts.cwd = root;
56-
run('docker', ['run', '-e', 'GITHUB_TOKEN', '-e', 'npm_config_arch', '-v', `/mnt/vss/_work/1/s:/root/vscode`, '-v', `/mnt/vss/_work/1/s/.build/.netrc:/root/.netrc`, process.env['VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME'], 'yarn', '--cwd', dir, ...args], opts);
56+
run('docker', ['run', '-e', 'GITHUB_TOKEN', '-e', 'npm_config_arch', '-v', `.:/root/vscode`, process.env['VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME'], 'yarn', '--cwd', dir, ...args], opts);
5757
run('sudo', ['chown', '-R', `${userinfo.uid}:${userinfo.gid}`, `${dir}/node_modules`], opts);
5858
} else {
5959
console.log(`Installing dependencies in ${dir}...`);

0 commit comments

Comments
 (0)