Skip to content

Commit

Permalink
Fixes pod4g#20, pod4g#5
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiyan committed Jun 8, 2018
1 parent ad18ad8 commit 40bf54b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions bin/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env node
const path = require('path')
const fork = require('child_process').fork
const argv = process.argv.slice(2)

fork(path.resolve(__dirname, '../src/index.js'), argv, {
env: {
NODE_NO_WARNINGS: 1
}
})
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"authors": "git log --format='%aN <%aE>' | sort -u"
},
"bin": {
"hiper": "./src/index.js"
"hiper": "./bin/index.js"
},
"license": "MIT",
"dependencies": {
Expand Down

0 comments on commit 40bf54b

Please sign in to comment.