Skip to content

Commit 2c8b796

Browse files
committed
remove unnecessary catch
1 parent 58ec8fa commit 2c8b796

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

scripts/check-build.mjs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,8 @@ if (fs.existsSync(binaries.target)) {
4646
} else {
4747
console.log(e);
4848
}
49-
try {
50-
await recompileFromSource();
51-
} catch (e) {
52-
console.log('Failed to compile from source');
53-
throw e;
54-
}
49+
50+
await recompileFromSource();
5551
}
5652
} else {
5753
console.log('No precompiled binary found');

0 commit comments

Comments
 (0)