Skip to content

Commit

Permalink
chore: turn of CLI invokation for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin committed Oct 11, 2018
1 parent 13b32ff commit 32560be
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/cli.js
Expand Up @@ -2,6 +2,9 @@ var tap = require('tap');
var test = tap.test;
var execSync = require('child_process').execSync;

// TODO: @bcoe debug our approach to spawning CLI on Windows.
if (process.platform === 'win32') return

test('\nCLI (bin/semver) tests', function(t) {
// [args, expected stdout, expected stderr, expected error code]
[
Expand All @@ -12,7 +15,7 @@ test('\nCLI (bin/semver) tests', function(t) {
var expectedStdout = input[1];

try {
stdout = execSync(`${require.resolve('../bin/semver')} ` + input[0]);
stdout = execSync('"./bin/semver" ' + input[0]);
if (expectedStdout) {
t.same(stdout.toString().trim(), expectedStdout);
}
Expand Down

0 comments on commit 32560be

Please sign in to comment.