* fix(api.ts): add process.exit(1) to terminate the process if apiKey is not provided

This commit is contained in:
di-sukharev
2023-03-10 22:41:53 +08:00
parent 50e2f67a9b
commit 3ca9b9752f
+1
View File
@@ -20,6 +20,7 @@ if (!apiKey) {
outro(
'For help Look into README https://github.com/di-sukharev/opencommit#setup'
);
process.exit(1);
}
// if (!apiKey) {