electron/spec/fixtures/api/utility-process/electron-modules/import-main.mjs
trop[bot] e2212067ae
fix: importing from electron/utility in ESM (#48020)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
2025-08-12 14:10:43 +02:00

3 lines
79 B
JavaScript

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