diff --git a/src/main/java/org/itxtech/mcl/Loader.java b/src/main/java/org/itxtech/mcl/Loader.java index a74444d..b0d31a2 100644 --- a/src/main/java/org/itxtech/mcl/Loader.java +++ b/src/main/java/org/itxtech/mcl/Loader.java @@ -115,6 +115,11 @@ public void parseCli(String[] args, boolean help) { public void loadConfig() { config = Config.load(configFile); + for (int i = 0; i < loader.config.mavenRepo.length; i ++) { + if(loader.config.mavenRepo[i].endsWith("/")){ + loader.config.mavenRepo[i] = loader.config.mavenRepo[i].substring(0,loader.config.mavenRepo[i].length - 1); + } + } logger.setLogLevel(config.logLevel); }