electron/lib/common/api
Shelley Vohr 9ebba76c03
chore: improve existing error preservation in promisify (#16815)
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.
2019-02-07 10:25:20 -08:00
..
exports chore: have 'use strict' consistently across our lib files (#14721) 2018-09-23 00:28:50 +12:00
clipboard.js refactor: use ipcRendererUtils.invokeSync / ipcMainUtils.handleSync (#16759) 2019-02-06 09:53:28 -08:00
deprecate.js chore: improve existing error preservation in promisify (#16815) 2019-02-07 10:25:20 -08:00
deprecations.js autoformat more easy files 2016-03-30 17:00:31 -07:00
is-promise.js 🎨 Support non-native promises 2016-05-25 10:11:18 -06:00
module-list.js refactor: use separate ipc-renderer-internal / ipc-main-internal APIs for Electron internals (#13940) 2018-10-07 00:48:00 +13:00
native-image.js chore: have 'use strict' consistently across our lib files (#14721) 2018-09-23 00:28:50 +12:00
shell.js chore: have 'use strict' consistently across our lib files (#14721) 2018-09-23 00:28:50 +12:00