mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-17 14:11:23 +01:00
Proper exit code
This commit is contained in:
1 parent
8efc38b3eb
commit
324e7da282
1 file changed
+4
-1
@@ -18,4 +18,7 @@ async function main() {
|
||||
}
|
||||
}
|
||||
|
||||
main().catch(err => console.log('Failed', err));
|
||||
main().catch(err => {
|
||||
console.log('Failed', err);
|
||||
process.exit(1);
|
||||
});
|
||||
Reference in new issue
Block a user