di-sukharev / opencommit

Generate conventional git commit messages with AI in 1 second 🤯🔫
https://www.npmjs.com/package/opencommit
MIT License
5.98k stars 318 forks source link

[Bug]: oco command fails to generate commit messages in golang project #229

Open utsavo-afk opened 1 year ago

utsavo-afk commented 1 year ago

Opencommit Version

v2.4.2

Node Version

v20.1.0

NPM Version

v9.8.0

What OS are you seeing the problem on?

Mac

What happened?

A bug happened! image I am not sure but when it tries to write commit messages for raw sql files, it is failing and shows some sensitive data in the output of the failed response, heres a screenshot.

Expected Behavior

Generate a commit message based on the file changes and also understand the related sql changes in files.

Current Behavior

Failed response due to unknown reasons.

Possible Solution

No response

Steps to Reproduce

No response

Relevant log output

No response

di-sukharev commented 1 year ago

could you share file content I can reproduce this bug with?

github-actions[bot] commented 12 months ago

Stale issue message