Skip to content

Commit

Permalink
fix: add void to bin scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Aug 23, 2023
1 parent 0d89716 commit 5f1dbcc
Show file tree
Hide file tree
Showing 4 changed files with 151 additions and 160 deletions.
2 changes: 1 addition & 1 deletion bin/dev.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env node
// eslint-disable-next-line node/shebang
(async () => {
void (async () => {
const oclif = await import('@oclif/core')
await oclif.execute({development: true, dir: __dirname})
})()
2 changes: 1 addition & 1 deletion bin/run.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env node

(async () => {
void (async () => {
const oclif = await import('@oclif/core')
await oclif.execute({dir: __dirname})
})()
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@types/mocha": "^9.0.0",
"@types/node": "^16.18.41",
"chai": "^4",
"eslint": "^7.32.0",
"eslint": "^8.47.0",
"eslint-config-oclif": "^4",
"eslint-config-oclif-typescript": "^1.0.3",
"mocha": "^9",
Expand Down Expand Up @@ -72,4 +72,4 @@
"oclif"
],
"types": "dist/index.d.ts"
}
}
Loading

0 comments on commit 5f1dbcc

Please sign in to comment.