mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-19 16:21:13 +01:00
Proper exit code
This commit is contained in:
@@ -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