Skip to content

Commit d6a2a6b

Browse files
Updates use of replace
1 parent d2f1dce commit d6a2a6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/git/remotes/bitbucket-server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export class BitbucketServerRemote extends RemoteProvider {
158158
}
159159

160160
protected override getUrlForComparison(base: string, head: string, _notation: '..' | '...'): string {
161-
return this.encodeUrl(`${this.baseUrl}/branches/compare/${base}%0D${head}`).replace('%250D', '%0D');
161+
return this.encodeUrl(`${this.baseUrl}/branches/compare/${base}%0D${head}`).replaceAll('%250D', '%0D');
162162
}
163163

164164
protected override getUrlForCreatePullRequest(

0 commit comments

Comments
 (0)