-
Notifications
You must be signed in to change notification settings - Fork 913
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error on commit, if package.json in subdirectory #62
Labels
Comments
Can not reproduce with the following sequence. Are you using the latest version of commitlint?
|
I reproduced as follows:
added "scripts": {
Result:
|
Thanks for the refined use case! Will have a look at this over the weekend. |
marionebl
added a commit
that referenced
this issue
Aug 21, 2017
* test(cli): add failing integration test * fix: determine git root correctly from sub directories * fixup! make git initializing work fixes #62
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In root directory(has .git) make subdirectory and in her package.json with
"commitmsg": "conventional-changelog-lint -e"
. After trying commit I have:Error: Command failed: git rev-parse --show-toplevel
fatal: Not a git repository: '.git'
The text was updated successfully, but these errors were encountered: