2019-05-07 07:44:32 -06:00
|
|
|
try {
|
2020-03-20 14:28:31 -06:00
|
|
|
require('some-module');
|
2019-05-07 07:44:32 -06:00
|
|
|
} catch (err) {
|
2020-03-20 14:28:31 -06:00
|
|
|
console.error(err);
|
|
|
|
process.exit(1);
|
2019-05-07 07:44:32 -06:00
|
|
|
}
|
|
|
|
|
2020-03-20 14:28:31 -06:00
|
|
|
process.exit(0);
|