Skip to content

Commit

Permalink
Update Clone.java
Browse files Browse the repository at this point in the history
  • Loading branch information
tmarzeion authored Oct 14, 2016
1 parent f6b9975 commit 0449c63
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 0449c63

Please sign in to comment.