diff --git a/src/commands/commit.ts b/src/commands/commit.ts index 84fd457..e791b32 100644 --- a/src/commands/commit.ts +++ b/src/commands/commit.ts @@ -16,6 +16,7 @@ const generateCommitMessageFromGitDiff = async ( commitSpinner.start('Generating the commit message'); const commitMessage = await generateCommitMessageWithChatCompletion(diff); + // TODO: show proper error messages if (typeof commitMessage !== 'string') { const errorMessages = { [GenerateCommitMessageErrorEnum.emptyMessage]: