We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a231d9 commit 541abbaCopy full SHA for 541abba
1 file changed
frontend/src/components/pipelines/Stage.vue
@@ -298,7 +298,6 @@ export default {
298
if (this.stage?.gitRepo?.url.startsWith('https://github.com')) {
299
return `${this.stage.gitRepo.url}/tree/${this.stage.gitRepo.branch || 'main'}`
300
} else if (this.stage?.gitRepo?.url.startsWith('https://dev.azure.com')) {
301
- console.log('azure', this.stage.gitRepo.url)
302
const regex = /^https:\/\/dev.azure.com\/(?<org>.+)\/_git\/(?<repo>.+)$/
303
const match = regex.exec(this.stage.gitRepo.url)
304
return `https://dev.azure.com/${match.groups.org}/${match.groups.repo}/_git/${match.groups.repo}?path=%2F&version=GB${this.stage.gitRepo.branch || 'main'}`
0 commit comments