You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing some issues though if running commit from within a submodule directory.
(node:16959) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOTDIR: not a directory, open '/home/ubuntu/path/to/repository/submodule/.git/COMMIT_EDITMSG' [edited for bug report]
(node:16959) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Nonetheless I believe that script is right because hooks for submodules are located under ../.git/modules/submodule/hooks and therefore COMMIT_EDITMSG file would never appear under submodule/.git/COMMIT_EDITMSG and submodule/.git is file, that's true as well ;)
I cannot give a time to resolve it by myself at the moment but will hopefully provide a solution somehow later as a contributor.
Forgot to add. I am using generate-changelog together with commitizen so it may not be a bug in generate-changelog at all.
The text was updated successfully, but these errors were encountered:
Hello guys and thank you for a wonderful package!
I am experiencing some issues though if running commit from within a submodule directory.
Nonetheless I believe that script is right because hooks for submodules are located under
../.git/modules/submodule/hooks
and thereforeCOMMIT_EDITMSG
file would never appear undersubmodule/.git/COMMIT_EDITMSG
andsubmodule/.git
is file, that's true as well ;)I cannot give a time to resolve it by myself at the moment but will hopefully provide a solution somehow later as a contributor.
Forgot to add. I am using generate-changelog together with commitizen so it may not be a bug in generate-changelog at all.
The text was updated successfully, but these errors were encountered: