Skip to content

Commit

Permalink
Do not catch error. It prevents the script from crashing if it does n…
Browse files Browse the repository at this point in the history
…ot load data correctly
  • Loading branch information
Michael Tsang committed Mar 18, 2024
1 parent f24e1a3 commit 40597bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.ts
Expand Up @@ -5,5 +5,4 @@ const container = new Container();

container
.getCommand(process.argv[2])
.then(c => c.run(process.argv))
.catch(console.error);
.then(c => c.run(process.argv));

0 comments on commit 40597bb

Please sign in to comment.