ErrorHandler
This commit is contained in:
@@ -590,6 +590,8 @@ public class Utils {
|
||||
if (isJarRunning())
|
||||
return null;
|
||||
File f = new File(".git/refs/remotes/origin/master");
|
||||
if (!f.isFile())
|
||||
f = new File("../.git/refs/remotes/origin/master");
|
||||
if (!f.isFile())
|
||||
return null;
|
||||
try (BufferedReader in = new BufferedReader(new FileReader(f))) {
|
||||
|
||||
Reference in New Issue
Block a user