Skip to content

Commit b1a7c76

Browse files
committed
Upgrade: cross-spawn-async to cross-spawn (fixes #40)
1 parent a0ad906 commit b1a7c76

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
},
3232
"dependencies": {
3333
"chalk": "^1.1.3",
34-
"cross-spawn-async": "^2.1.9",
34+
"cross-spawn": "^3.0.1",
3535
"minimatch": "^3.0.0",
3636
"object-assign": "^4.0.1",
3737
"pinkie-promise": "^2.0.1",

src/lib/run-tasks-in-sequencial.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ module.exports = function runTasksInSequencial(tasks, options) {
5858
return tasks
5959
.reduce(
6060
(prev, task) => (
61-
prev.then(result => (
61+
prev.then(result => ((
6262
postprocess(result),
6363
runTask(task, options)
64-
))
64+
)))
6565
),
6666
Promise.resolve(null)
6767
)

src/lib/spawn-posix.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// Requirements
1111
//------------------------------------------------------------------------------
1212

13-
const crossSpawn = require("cross-spawn-async");
13+
const crossSpawn = require("cross-spawn");
1414
const getDescendentProcessInfo = require("ps-tree");
1515

1616
//------------------------------------------------------------------------------

src/lib/spawn-win32.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// Requirements
1111
//------------------------------------------------------------------------------
1212

13-
const crossSpawn = require("cross-spawn-async");
13+
const crossSpawn = require("cross-spawn");
1414

1515
//------------------------------------------------------------------------------
1616
// Helpers

0 commit comments

Comments
 (0)