9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-27 11:09:06 +00:00

Add message if couldn't find specific branch

Took 5 minutes
This commit is contained in:
Andrew Baker
2021-04-29 11:37:51 -07:00
parent 866e0e3fa9
commit 28e809f92f

View File

@@ -208,6 +208,7 @@ public class ProjectManager
*/
String branch = getListing(false).get(key).replaceAll("^[^/]*(?:/[^/]*)", "");
if(branch == null || branch.equals("")) {
sender.sendMessage("Couldn't find specific branch, assuming master");
branch = "/master";
}
if(repo == null)