diff options
author | Vendicated <vendicated@riseup.net> | 2022-10-09 22:35:59 +0200 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-10-09 22:35:59 +0200 |
commit | 9e6ee4df52c92d5dc70a9ba59f3181fff1176676 (patch) | |
tree | 58914140788d44f89fb359c317e00d6480f3ae46 | |
parent | 304bf4fe29fd76fd951d69dd364087c735bbbb16 (diff) | |
download | Vencord-9e6ee4df52c92d5dc70a9ba59f3181fff1176676.tar.gz Vencord-9e6ee4df52c92d5dc70a9ba59f3181fff1176676.tar.bz2 Vencord-9e6ee4df52c92d5dc70a9ba59f3181fff1176676.zip |
Fail on build error
-rwxr-xr-x | build.mjs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; }); |