9ebba76c03
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. |
||
---|---|---|
.. | ||
browser | ||
common | ||
isolated_renderer | ||
renderer | ||
sandboxed_renderer | ||
worker | ||
.eslintrc |