* fix(api.ts): add process.exit(1) to terminate the process if apiKey is not provided
This commit is contained in:
@@ -20,6 +20,7 @@ if (!apiKey) {
|
|||||||
outro(
|
outro(
|
||||||
'For help Look into README https://github.com/di-sukharev/opencommit#setup'
|
'For help Look into README https://github.com/di-sukharev/opencommit#setup'
|
||||||
);
|
);
|
||||||
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (!apiKey) {
|
// if (!apiKey) {
|
||||||
|
|||||||
Reference in New Issue
Block a user