Skip to content

Commit

Permalink
Fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed May 30, 2019
1 parent 08f1c58 commit da77d18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -259,7 +259,7 @@ const execa = (file, args, options) => {
}

// TODO: Use native "finally" syntax when targeting Node.js 10
const processDone = pFinally(new Promise(resolve => {
const processDone = pFinally(new Promise((resolve, reject) => {
spawned.on('exit', (code, signal) => {
if (timedOut) {
return reject(Object.assign(new Error('Timed out'), {code, signal}));
Expand Down

0 comments on commit da77d18

Please sign in to comment.