Skip to content

Commit

Permalink
Merge pull request #16 from romainl/master
Browse files Browse the repository at this point in the history
Trying something to fix the mingw issue.
  • Loading branch information
kimmobrunfeldt committed Oct 28, 2015
2 parents df8828f + 10dbdbc commit 1025b44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var shellQuote = require('shell-quote');
// We assume that Windows provides COMSPEC env variable
// and other platforms provide SHELL env variable
var SHELL_PATH = process.env.SHELL || process.env.COMSPEC;
var EXECUTE_OPTION = process.env.COMSPEC !== undefined ? '/c' : '-c';
var EXECUTE_OPTION = process.env.COMSPEC !== undefined && process.env.SHELL === undefined ? '/c' : '-c';

// XXX: Wrapping tos to a promise is a bit wrong abstraction. Maybe RX suits
// better?
Expand Down

0 comments on commit 1025b44

Please sign in to comment.