mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Add message if couldn't find specific branch
Took 5 minutes
This commit is contained in:
parent
866e0e3fa9
commit
28e809f92f
@ -208,6 +208,7 @@ public class ProjectManager
|
|||||||
*/
|
*/
|
||||||
String branch = getListing(false).get(key).replaceAll("^[^/]*(?:/[^/]*)", "");
|
String branch = getListing(false).get(key).replaceAll("^[^/]*(?:/[^/]*)", "");
|
||||||
if(branch == null || branch.equals("")) {
|
if(branch == null || branch.equals("")) {
|
||||||
|
sender.sendMessage("Couldn't find specific branch, assuming master");
|
||||||
branch = "/master";
|
branch = "/master";
|
||||||
}
|
}
|
||||||
if(repo == null)
|
if(repo == null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user