Skip to content

Commit 65b43e4

Browse files
author
Ben Demboski
authored
Use process.execPath is the test runner (#751)
Use process.execPath instead of 'node' so we use the same Node executable that is running ember-cli, rather than rely on the user's PATH to point to the right (or any) version of Node. Thanks @rwjblue for pointing this out Fixes #750
1 parent 98e9237 commit 65b43e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/test-runner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
//
2121

2222
module.exports = {
23-
exe: 'node',
23+
exe: process.execPath,
2424
// These arguments are used in `lib/test-support/index.js`, which is called
2525
// from the test main process (via the blueprint-generated
2626
// `electron-app/tests/index.js`)

0 commit comments

Comments
 (0)