Browse Source

fix(linux): force remove dependencies before cleanup [skip ci]

Baptiste Augrain 3 tháng trước cách đây
mục cha
commit
adaefe4ed5
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      build/linux/package_reh.sh

+ 3 - 0
build/linux/package_reh.sh

@@ -153,6 +153,9 @@ for i in {1..5}; do # try 5 times
     exit 1
   fi
   echo "Npm install failed $i, trying again..."
+
+  # remove dependencies that fail during cleanup
+  rm -rf node_modules/@vscode node_modules/node-pty
 done
 
 node build/azure-pipelines/distro/mixin-npm