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
123// The return value is a native Promise with Execa-specific properties.export const mergePromise = (promise, properties) => Object.assign(promise, properties);