Skip to content

Commit

Permalink
chore: fix build script
Browse files Browse the repository at this point in the history
  • Loading branch information
tanishqmanuja committed Jan 9, 2024
1 parent c091d87 commit 888799a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ async function bundle() {
}

async function resource() {
const { exitCode } = await execa("goversioninfo", ["--help"]);
const { exitCode } = await execa("goversioninfo", ["--help"]).catch(() => ({
exitCode: 1,
}));

if (exitCode !== 0) {
console.log(" • ⚠️ Missing goversioninfo");
Expand Down

0 comments on commit 888799a

Please sign in to comment.