9 lines
109 B
JavaScript
9 lines
109 B
JavaScript
|
try {
|
||
|
require('some-module');
|
||
|
} catch (err) {
|
||
|
console.error(err);
|
||
|
process.exit(1);
|
||
|
}
|
||
|
|
||
|
process.exit(0);
|