Skip to content

Commit

Permalink
Fix pre-commit hook for UNIX systems
Browse files Browse the repository at this point in the history
  • Loading branch information
shubertm committed Jul 7, 2024
1 parent d7b1a7d commit 62b8fa7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ tasks.register('ktlintCheck', JavaExec) {
}

tasks.register('installGitHook', Copy) {
def suffix = "linux"
def suffix = "unix"
if (Os.isFamily(Os.FAMILY_WINDOWS)) {
suffix = "windows"
}
Expand All @@ -239,4 +239,4 @@ tasks.preBuild.dependsOn ktlintCheck

tasks.ktlintCheck.dependsOn ktlintFormat

build.dependsOn installGitHook
tasks.preBuild.dependsOn installGitHook

0 comments on commit 62b8fa7

Please sign in to comment.