Skip to content

Commit

Permalink
use 1 for exit
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvester Aswin Stanley committed Mar 19, 2021
1 parent e677d23 commit b60c316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function utilityPlugin(config?: PluginConfig) {
if (moduleName && !fs.existsSync(modulePath)) {
// eslint-disable-next-line no-console
debug(`Module => ${moduleName} : is not supported`);
process.exit(-1);
process.exit(1);
}
// eslint-disable-next-line @typescript-eslint/no-var-requires
const moduleFunction = require(modulePath).default;
Expand Down

0 comments on commit b60c316

Please sign in to comment.