diff --git a/maven-plugin/src/main/java/org/openmrs/maven/plugins/Clone.java b/maven-plugin/src/main/java/org/openmrs/maven/plugins/Clone.java index 587acd30..cf490087 100644 --- a/maven-plugin/src/main/java/org/openmrs/maven/plugins/Clone.java +++ b/maven-plugin/src/main/java/org/openmrs/maven/plugins/Clone.java @@ -92,7 +92,7 @@ private String extractUniversalRepoUrl(String repoUrl) { String result; result = repoUrl.substring(repoUrl.indexOf(GITHUB_COM) + GITHUB_COM.length() + 1); - StringUtils.removeEnd(result,"/"); + result = StringUtils.removeEnd(result,"/"); if (!repoUrl.endsWith(".git")) { return result + ".git";