mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-24 11:38:29 +01:00
[ci skip] Allow .git to be a regular file (#8631)
This commit is contained in:
parent
f6ffbc2720
commit
0baf2ff1b9
@ -1,6 +1,6 @@
|
|||||||
import java.util.Locale
|
import java.util.Locale
|
||||||
|
|
||||||
if (!file(".git").isDirectory) {
|
if (!file(".git").exists()) {
|
||||||
val errorText = """
|
val errorText = """
|
||||||
|
|
||||||
=====================[ ERROR ]=====================
|
=====================[ ERROR ]=====================
|
||||||
|
Loading…
Reference in New Issue
Block a user