promise.js
This file
Path
lib/methods/promise.js
2 lines · 161 bytes · JavaScript
Last changed by
Add `nodeChildProcess` to subprocess promises and make the subprocess a normal promise (#1255)Sindre Sorhusbefore adoptionade74bf
History of this fileTake it
Add `nodeChildProcess` to subprocess promises and make the subprocess a normal promise (#1255)Sindre Sorhusbefore adoptionade74bf
lines 1–2why, one step back1// The return value is a native Promise with Execa-specific properties.2export const mergePromise = (promise, properties) => Object.assign(promise, properties);