Skip to content

Commit

Permalink
Prefix the cli test with 'node' so it works on windows
Browse files Browse the repository at this point in the history
Shouldnt provide any issues for other systems I hope
  • Loading branch information
Veeloxfire committed Apr 6, 2020
1 parent 3153de2 commit 4cd2704
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 4cd2704

Please sign in to comment.