fix: importing from electron/utility in ESM (#48021)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
This commit is contained in:
parent
020e07cc73
commit
a84d77143f
22 changed files with 228 additions and 7 deletions
3
spec/fixtures/api/utility-process/electron-modules/require-common.js
vendored
Normal file
3
spec/fixtures/api/utility-process/electron-modules/require-common.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
const { net } = require('electron/common');
|
||||
|
||||
process.exit(net !== undefined ? 0 : 1);
|
Loading…
Add table
Add a link
Reference in a new issue