Skip to content

Commit e321b62

Browse files
committed
linting/cleaning build.gradle.kts
1 parent dea1451 commit e321b62

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

core/build.gradle.kts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,10 @@ val installGitPreCommitHook by tasks.creating(Copy::class) {
180180
fileMode = 755
181181

182182
// Workaround for https://github.com/Kotlin/dataframe/issues/612
183-
if (OSType.identify() in listOf(OSType.Mac, OSType.Linux)) {
184-
doLast {
185-
exec {
186-
workingDir(gitHooksDir)
187-
commandLine("chmod", "755", "pre-commit")
188-
}
183+
if (OSType.identify() in listOf(OSType.Mac, OSType.Linux)) doLast {
184+
exec {
185+
workingDir(gitHooksDir)
186+
commandLine("chmod", "755", "pre-commit")
189187
}
190188
}
191189
} else {
@@ -372,7 +370,7 @@ tasks.test {
372370
listOf(
373371
"org.jetbrains.kotlinx.dataframe.jupyter.*",
374372
"org.jetbrains.kotlinx.dataframe.jupyter.SampleNotebooksTests",
375-
),
373+
)
376374
)
377375
}
378376
}

0 commit comments

Comments
 (0)