Skip to content

Commit

Permalink
fix: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tczhao committed Dec 11, 2024
1 parent 46dc075 commit bf2d6fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/local-install.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,9 @@ async function run(
skipVersionCheck,
snapshotInstall
);
const skipPackagesArray = JSON.parse("[" + skipPackages + "]");
const skipPackagesArray = JSON.parse(skipPackages)
.map((item) => item.split(","))
.flat();
const packagesToInstall = initPackagesToInstall.removeAll(skipPackagesArray);
console.log("Packages skipped install: " + skipPackages);
console.log(
Expand Down

0 comments on commit bf2d6fe

Please sign in to comment.