Skip to content

Commit

Permalink
enabling workaround for Linux too
Browse files Browse the repository at this point in the history
  • Loading branch information
Jolanrensen committed Mar 8, 2024
1 parent f2b050d commit 1497f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ val installGitPreCommitHook by tasks.creating(Copy::class) {
fileMode = 755

// Workaround for https://github.com/Kotlin/dataframe/issues/612
if (OSType.identify() == OSType.Mac) doLast {
if (OSType.identify() in listOf(OSType.Mac, OSType.Linux)) doLast {
exec {
workingDir(gitHooksDir)
commandLine("chmod", "755", "pre-commit")
Expand Down

0 comments on commit 1497f17

Please sign in to comment.