Skip to content

Commit

Permalink
setup: fix infinite loop in postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodrr committed Apr 26, 2024
1 parent daafeb2 commit f9f0a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/bootstrap.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ async function bootstrapPackage(cwd, outputs) {

for (const cmd of postInstallCommands) {
let retries = 3;
while (retries > 0) {
while (--retries > 0) {
try {
await execute(cmd, cwd, outputs);
break;
Expand Down

0 comments on commit f9f0a86

Please sign in to comment.