-
Notifications
You must be signed in to change notification settings - Fork 49
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
Pre-push hook shows an error #205
Comments
Thank you for the error report @nkgcp! Will get it fixed soon. |
Whats the status on this - we also ran into it and it would be nice to avoid it for newcomers to the project :-) |
Sorry it's slipped through the cracks. |
Nothing to be sorry about. I am not sure how to verify a fix. I think a possible solution could be altering |
On your pull request branch you can bump version, publish to maven local, and then in your test project put The solution might be straightforward, but I always like to see a shell script run for real on the OS, make sure it doesn't need quoting or anything else like that -- still returns an exit code. |
Hmm.. Cant seem to make it work, gradle cannot find the plugin.
But I can find it in my ~.m2/repository folder. |
May you try putting this in pluginManagement {
repositories {
mavenLocal()
gradlePluginPortal()
}
} |
Or the instructions for multi-module in the readme will work: buildscript {
repositories {
mavenLocal()
...
}
dependencies {
classpath("org.jmailen.gradle:kotlinter-gradle:3.5.0-test")
}
}
apply(plugin = "org.jmailen.kotlinter") |
@rvplauborg thanks for your idea for solution this problem. |
Awesome that it worked. Didn’t get around to doing it, so good you stepped in. @bespaltovyj |
In Windows 10, you can see hook install task generate hook looks like this.
And this shows error with message below.
It seems like
\
in the hook file is recognized as escape character. Changing\
to\\
or/
makes it works fine.The text was updated successfully, but these errors were encountered: