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. |
||
|---|---|---|
| .. | ||
| api | ||
| asar.js | ||
| asar_init.js | ||
| atom-binding-setup.js | ||
| buffer-utils.js | ||
| crash-reporter.js | ||
| error-utils.js | ||
| init.js | ||
| parse-features-string.js | ||
| reset-search-paths.js | ||
| web-view-methods.js | ||