AndreasAugustin / go-gitmoji-cli

:octocat: A conventional gitmoji commit interactive command line tool for using emojis on conventional commits. :rocket:
https://gitmoji.dev/
MIT License
8 stars 0 forks source link

[Bug]: issue with hooks -> file not found #44

Closed AndreasAugustin closed 1 year ago

AndreasAugustin commented 1 year ago

Is there an existing issue for this?

Describe the bug

when using the hook with a commit it reports an error

tmp [main] ⚡  git commit -S -m "fix: :bug: (#39) fix issue with subcommand no auto help"
____ ____    ____ _ ___ _  _ ____  _ _    ____ _    _
| __ |  | __ | __ |  |  |\/| |  |  | | __ |    |    |
|__] |__|    |__] |  |  |  | |__| _| |    |___ |___ |
fatal: issue reading and parsing the commit msg file open .git/COMMIT_EDITMSG message: no such file or directory
☁  tmp [main] ⚡  

Expected Behavior

no error using the hooks

Current Behavior

currently an error is reported no file found (but rile is existent in .git repository)

Steps To Reproduce

No response

Possible Solution

No response

Additional Information/Context

No response

go-gitmoji-cli Version

v0.2.7-alpha