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 (#82)

Co-authored-by: Michael Tsang <michael.tsang@jnction.co.uk>
  • Loading branch information
miklcct and miklcct authored Mar 18, 2024
1 parent f24e1a3 commit a4e01f5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
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 a4e01f5

Please sign in to comment.