-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
When git push
ing, with the pre-push hook installed, I got this error:
.git/hooks/pre-push: line 6: /Users/max/workspace/project-2/gradlew: No such file or directory
lintKotlin found problems, running formatKotlin; commit the result and re-push
.git/hooks/pre-push: line 8: /Users/max/workspace/project-2/gradlew: No such file or directory
error: failed to push some refs to 'gitlab.com:exampleorg/examplegroup/project.git'
I looked in the pre-push hook code and it has:
GRADLEW=/Users/max/workspace/project-2/gradlew
The error seems to be because I moved my project to a different directory, so this path is outdated and wrong now.
Hopefully this Google-searchers.
Metadata
Metadata
Assignees
Labels
No labels