Skip to content

Commit

Permalink
injects → lib/preload like 0x
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Aug 15, 2018
1 parent 98a67de commit 0420249
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autocannon.js
Expand Up @@ -191,7 +191,7 @@ function start (argv) {
// manage-path always uses the $PATH variable, but we can pretend
// that it is equal to $NODE_PATH
const alterPath = managePath({ PATH: process.env.NODE_PATH })
alterPath.unshift(path.join(__dirname, 'injects'))
alterPath.unshift(path.join(__dirname, 'lib/preload'))

nitm(['-r', 'autocannonDetectPort'], argv.spawn, {
stdio: ['ignore', 'inherit', 'inherit'],
Expand Down
File renamed without changes.

0 comments on commit 0420249

Please sign in to comment.