Skip to content

Commit

Permalink
removed unneccesary await
Browse files Browse the repository at this point in the history
  • Loading branch information
SadiePi committed Jul 1, 2021
1 parent 7b1e4e8 commit 3451a5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/nested.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ nested.setPrompt("nested >>");

const root = new CLI([
["sample1", "Run sample1", ({}) => console.log("running sample1")],
["nest", "Run the nested CLI", await nested.run],
["nest", "Run the nested CLI", nested.run],
]);
root.setPrompt("root >>");
await root.run();

0 comments on commit 3451a5c

Please sign in to comment.