Skip to content

Commit 26f280d

Browse files
committed
Fix build script not failing on error
1 parent 9c92eda commit 26f280d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

_scripts/build.mjs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,5 @@ if (platform === 'darwin') {
3737
targets = Platform.LINUX.createTarget(['deb', 'zip', '7z', 'rpm', 'AppImage', 'pacman'], arch)
3838
}
3939

40-
try {
41-
const output = await build({ targets, config, publish: 'never' })
42-
console.log(output)
43-
} catch (error) {
44-
console.error(error)
45-
}
40+
const output = await build({ targets, config, publish: 'never' })
41+
console.log(output)

0 commit comments

Comments
 (0)