* docs(README.md): add reminder to add payment details to OpenAI API key

* docs(api.ts): update error message to remind user to add payment details to OpenAI API key
* refactor(cli.ts): remove unused import
* refactor(config.ts): update error message to use outro instead of throwing an error and exit the process

* chore(generateCommitMessageFromGitDiff.ts): add console.log for error debugging
This commit is contained in:
di-sukharev
2023-03-11 13:23:46 +08:00
parent 8fe382a072
commit b35a393152
5 changed files with 8 additions and 17 deletions

View File

@@ -7,8 +7,6 @@ import { configCommand } from './commands/config';
import { hookCommand, isHookCalled } from './commands/githook.js';
import { prepareCommitMessageHook } from './commands/prepare-commit-msg-hook';
import { commit } from './commands/commit';
import { execa } from 'execa';
import { outro } from '@clack/prompts';
const rawArgv = process.argv.slice(2);