Skip to content
Myr

Make execa compatible with Node.js 13.0.0-pre (#370)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Rich Trott · committed by Sindre Sorhus · parent a5bce3a · Browse files · 2 files+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−3 removed

  • other:+3 added−3 removed

2 files+3 added−3 removed

modified:index.js+1 added-1 removed
188 unmodified lines
189 ...result,190 code: result.status,191 command,192 parsed,193 timedOut: result.error && result.error.errno === 'ETIMEDOUT',193 timedOut: result.error && result.error.code === 'ETIMEDOUT',194 isCanceled: false,195 killed: result.signal !== null196 });197
57 unmodified lines
modified:readme.md+2 added-2 removed
57 unmodified lines
58 console.log(error);59 /*60 {61 message: 'Command failed with exit code 2 (ENOENT): wrong command spawn wrong ENOENT',62 errno: 'ENOENT',62 errno: -2,63 syscall: 'spawn wrong',64 path: 'wrong',65 spawnargs: ['command'],66 command: 'wrong command',
30 unmodified lines
97 console.log(error);98 /*99 {100 message: 'Command failed with exit code 2 (ENOENT): wrong command spawnSync wrong ENOENT',101 errno: 'ENOENT',101 errno: -2,102 syscall: 'spawnSync wrong',103 path: 'wrong',104 spawnargs: ['command'],105 command: 'wrong command',
446 unmodified lines