Skip to content

Commit 145f18e

Browse files
Boshenclaude
andcommitted
abort override-rolldown script if pnpm install fails
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 4f40a02 commit 145f18e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/override-rolldown.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ function installDependencies() {
120120
return true;
121121
} catch (error) {
122122
console.error("❌ Error installing dependencies:", error.message);
123-
return false;
123+
console.error("❌ Aborting due to pnpm install failure");
124+
process.exit(1);
124125
}
125126
}
126127

0 commit comments

Comments
 (0)