Skip to content

Commit

Permalink
Fix bin/run
Browse files Browse the repository at this point in the history
  • Loading branch information
eablack committed Jan 23, 2025
1 parent eb29360 commit fcb52d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"import/namespace": "off",
"indent": ["error", 2, {"MemberExpression": 1}],
"node/no-missing-import": "off",
"n/shebang": "warn",
"perfectionist/sort-objects": "warn",
"unicorn/no-array-for-each": "off",
"unicorn/no-useless-undefined": "warn",
Expand Down
7 changes: 5 additions & 2 deletions bin/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env node

require('@oclif/command').run()
.catch(require('@oclif/errors/handle'))
const oclif = require('@oclif/core')

oclif.run()
.then(require('@oclif/core/flush'))
.catch(async error => require('@oclif/core/handle')(error))

0 comments on commit fcb52d6

Please sign in to comment.