Skip to content

Commit

Permalink
Fixes path splitting logic in BitbucketServerRemote (#3218)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeibbb committed Feb 14, 2025
1 parent 308b23a commit f292bd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Fixed

- Fixes [#3841](https://github.com/gitkraken/vscode-gitlens/issues/3841) - Inspect & Graph Details: autolinks rendering when enabled setting is false
- Fixes [#3218](https://github.com/gitkraken/vscode-gitlens/issues/3218) - Bitbucket Server remote - "scm/" path prefix not removed (regression)

## [16.3.0] - 2025-02-11

Expand Down
2 changes: 1 addition & 1 deletion src/git/remotes/bitbucket-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class BitbucketServerRemote extends RemoteProvider {
if (this.path.startsWith('scm/')) {
const path = this.path.replace('scm/', '');
const index = path.indexOf('/');
return [this.path.substring(0, index), this.path.substring(index + 1)];
return [path.substring(0, index), path.substring(index + 1)];
}

return super.splitPath();
Expand Down

0 comments on commit f292bd0

Please sign in to comment.