mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-15 12:02:57 +01:00
[ci skip] Allow .git to be a regular file (#8631)
This commit is contained in:
parent
7332b8c2c4
commit
f4a28408d4
@ -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