Skip to content

Commit

Permalink
Prefix the cli test with 'node' so it works on windows (#1807)
Browse files Browse the repository at this point in the history
* Prefix the cli test with 'node' so it works on windows

Shouldnt provide any issues for other systems I hope

* Revert "Prefix the cli test with 'node' so it works on windows"

This reverts commit 4cd2704.

* Revert "Revert "Prefix the cli test with 'node' so it works on windows""

This reverts commit 268b594.

Co-authored-by: Jos de Jong <[email protected]>
  • Loading branch information
Veeloxfire and josdejong authored Apr 8, 2020
1 parent b1850b5 commit f6a8a23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/node-tests/cli/cli.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const path = require('path')
const cp = require('child_process')

function run (args, done) {
cp.exec('bin/cli.js ' + args, function (e, r) {
cp.exec('node bin/cli.js ' + args, function (e, r) {
done(e, r.replace(/\n$/g, ''))
})
}
Expand Down

0 comments on commit f6a8a23

Please sign in to comment.