Skip to content

Commit

Permalink
[enhancement] gitlab clone from private to public (#881)
Browse files Browse the repository at this point in the history
  • Loading branch information
caochengxiang authored Aug 20, 2024
2 parents f3cdec0 + 583aae3 commit f58112d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ private static boolean modifyFile(String changedBody, String filePathToReplace,
return true;
}

private static boolean clone(String gitUrl, String branch, String username, String token, String gitPath) {
public static boolean clone(String gitUrl, String branch, String username, String token, String gitPath) {
clearIfPresent(gitPath);
CloneCommand cloneCommand = Git.cloneRepository().setURI(gitUrl)
.setCredentialsProvider(new UsernamePasswordCredentialsProvider(username, token))
Expand Down

0 comments on commit f58112d

Please sign in to comment.