We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5caa775 + 43f1efc commit b940adaCopy full SHA for b940ada
CHANGELOG.md
@@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
11
### Changed
12
- ?
13
### Fixed
14
- - ?
+ - Git hook fails to check multiple files [#336](https://github.com/JLLeitschuh/ktlint-gradle/issues/336)
15
### Removed
16
17
plugin/src/main/kotlin/org/jlleitschuh/gradle/ktlint/GitHook.kt
@@ -30,7 +30,7 @@ private fun generateGradleCommand(
30
} else {
31
"./gradlew"
32
}
33
- return "$gradleCommand --quiet $taskName -P$FILTER_INCLUDE_PROPERTY_NAME=${'$'}CHANGED_FILES"
+ return "$gradleCommand --quiet $taskName -P$FILTER_INCLUDE_PROPERTY_NAME=\"${'$'}CHANGED_FILES\""
34
35
36
private fun generateGitCommand(
0 commit comments