mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-28 05:25:42 +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
|
||||
|
||||
if (!file(".git").isDirectory) {
|
||||
if (!file(".git").exists()) {
|
||||
val errorText = """
|
||||
|
||||
=====================[ ERROR ]=====================
|
||||
|
Loading…
Reference in New Issue
Block a user