Skip to content

Commit

Permalink
feat: update Gitlab.java with change clone from private to public
Browse files Browse the repository at this point in the history
  • Loading branch information
TreasureJade committed Aug 20, 2024
1 parent d5f6724 commit 8a3985f
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 8a3985f

Please sign in to comment.