Skip to content

Commit

Permalink
Without ensuring opt is an object, spawnCommand hangs and does not ex…
Browse files Browse the repository at this point in the history
…ecute
  • Loading branch information
Robert-Frampton authored and SBoudrias committed Feb 8, 2015
1 parent e33a28d commit 1059528
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/actions/spawn_command.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ var spawn = require('cross-spawn');
*/

module.exports = function spawnCommand(command, args, opt) {
opt = opt || {};
return spawn(command, args, _.defaults(opt, { stdio: 'inherit' }));
};

0 comments on commit 1059528

Please sign in to comment.