Skip to content

Commit aee8f05

Browse files
committed
Fix BitbucketAuthenticatedClient path composition
1 parent b2d3c11 commit aee8f05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/cloudbees/jenkins/plugins/bitbucket/impl/client/AbstractBitbucketApi.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,9 +442,9 @@ public String getRepositoryName() {
442442

443443
private String completeURL(@NonNull String path) {
444444
if (path.startsWith("/")) {
445-
return delegate.getBaseURL() + "/" + path;
446-
} else {
447445
return delegate.getBaseURL() + path;
446+
} else {
447+
return delegate.getBaseURL() + "/" + path;
448448
}
449449
}
450450

0 commit comments

Comments
 (0)