electron/spec/fixtures/api/utility-process/electron-modules/import-common.mjs
trop[bot] a84d77143f
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>
2025-08-11 11:17:15 -04:00

3 lines
81 B
JavaScript

import { net } from 'electron/common';
process.exit(net !== undefined ? 0 : 1);