Преглед на файлове

Fixes #692 - make remote work with recent versions of Bitbucket Server

main
rozangu1 преди 5 години
committed by Eric Amodio
родител
ревизия
722a7d213b
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. +2
    -2
      src/git/remotes/bitbucket-server.ts

+ 2
- 2
src/git/remotes/bitbucket-server.ts Целия файл

@ -11,8 +11,8 @@ export class BitbucketServerRemote extends RemoteProvider {
}
protected get baseUrl() {
const [project, repo] = this.splitPath();
return `https://${this.domain}/projects/${project}/repos/${repo}`;
const [project, repo] = this.path.startsWith('scm/') ? this.path.replace('scm/', '').split('/') : this.splitPath();
return `${this.protocol}://${this.domain}/projects/${project}/repos/${repo}`;
}
get icon() {

Зареждане…
Отказ
Запис