aboutsummaryrefslogtreecommitdiffhomepage
path: root/settings.gradle.kts
diff options
context:
space:
mode:
authorAmaury Rousseau <[email protected]>2022-12-09 17:33:00 +0100
committerGitHub <[email protected]>2022-12-09 16:33:00 +0000
commit0baf2ff1b9a6e0bd7a7a369597256902fde47fc7 (patch)
treeb34c67fb8ada06798525ab6a25ca7177c57eb0ca /settings.gradle.kts
parentf6ffbc27206df240756c99ebc05fe31bbbfad910 (diff)
downloadPaper-0baf2ff1b9a6e0bd7a7a369597256902fde47fc7.tar.gz
Paper-0baf2ff1b9a6e0bd7a7a369597256902fde47fc7.zip
[ci skip] Allow .git to be a regular file (#8631)
Diffstat (limited to 'settings.gradle.kts')
-rw-r--r--settings.gradle.kts2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings.gradle.kts b/settings.gradle.kts
index 189e95819a..4ca4fb475e 100644
--- a/settings.gradle.kts
+++ b/settings.gradle.kts
@@ -1,6 +1,6 @@
import java.util.Locale
-if (!file(".git").isDirectory) {
+if (!file(".git").exists()) {
val errorText = """
=====================[ ERROR ]=====================