-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Pre Commit Hook Error #562
Comments
Found the same problem. Edited manually the file and it worked as expected |
I am getting the same error. I didn't find this line after applying the plugin to the project. |
@paulohc, after installing the pre-commit, it should be available in |
I found the line here. Now the hook is working. Thank you very much @jmbarroso ! |
* master: testAnnotations use version_current and upload memory dump
* master: Also grab the replay_pid log file on crash Log test events during test execution
* master: Fix formatting of build file
* master: Disable the Gradle Daemon on Windows tests
* master: Fix failing test from Daemon disable
* master: Fix formatting
* master: Fix "Unknown command-line option '--no-daemon'" error
* master: Remove windows tests from critical path
* master: Fix `fail-fast` declaration
When running the precommit hook it always fails with the message:
This is probably because of this line:
Imo the leading $ should be removed.
This also has the very bad sideffect that the old stash is not applied and the code that wasn't staged is lost.
Tested on macos, Ktlint 10.2.1
The text was updated successfully, but these errors were encountered: