electron/spec/fixtures/api/electron-main-module/app/index.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
109 B
JavaScript
Raw Normal View History

try {
require('some-module');
} catch (err) {
console.error(err);
process.exit(1);
}
process.exit(0);