![]() This PR better preserves existing behavior in `deprecate.promisify()` in the cases where the promise fails. Previously, if a callback was only called with `data` instead of `err, data` and the promise was rejected, `data` would be populated with `err`, which could be confusing to users. This makes it such that `err` is called back on promise rejection if a callback is called with `err, data` a la Node.js. |
||
---|---|---|
.. | ||
exports | ||
clipboard.js | ||
deprecate.js | ||
deprecations.js | ||
is-promise.js | ||
module-list.js | ||
native-image.js | ||
shell.js |