aboutsummaryrefslogtreecommitdiff
path: root/build.mjs
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-10-09 22:35:59 +0200
committerVendicated <vendicated@riseup.net>2022-10-09 22:35:59 +0200
commit9e6ee4df52c92d5dc70a9ba59f3181fff1176676 (patch)
tree58914140788d44f89fb359c317e00d6480f3ae46 /build.mjs
parent304bf4fe29fd76fd951d69dd364087c735bbbb16 (diff)
downloadVencord-9e6ee4df52c92d5dc70a9ba59f3181fff1176676.tar.gz
Vencord-9e6ee4df52c92d5dc70a9ba59f3181fff1176676.tar.bz2
Vencord-9e6ee4df52c92d5dc70a9ba59f3181fff1176676.zip
Fail on build error
Diffstat (limited to 'build.mjs')
-rwxr-xr-xbuild.mjs3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.mjs b/build.mjs
index b59ebef..e579786 100755
--- a/build.mjs
+++ b/build.mjs
@@ -118,4 +118,7 @@ await Promise.all([
]).catch(err => {
console.error("Build failed");
console.error(err.message);
+ // make ci fail
+ if (!watch)
+ process.exitCode = 1;
});