Update nasty-doors-grab.md

Signed-off-by: Ben Lambert <ben@blam.sh>
This commit is contained in:
Ben Lambert
2024-06-12 16:49:58 +02:00
committed by GitHub
parent 2e1a8159ea
commit a07d10fc86
+1 -1
View File
@@ -2,4 +2,4 @@
'@backstage/plugin-scaffolder-backend-module-azure': patch
---
Use `GitRepository.webUrl` instead of `GitRepository.remoteUrl` to set the value of `repoContentsUrl` as `remoteUrl` can sometimes return an URL with the wrong format (e.g. https://<organization>@dev.azure.com/<organization>/<project>/\_git/<repository>).
Use `GitRepository.webUrl` instead of `GitRepository.remoteUrl` to set the value of `repoContentsUrl` as `remoteUrl` can sometimes return an URL with the wrong format (e.g. `https://<organization>@dev.azure.com/<organization>/<project>/\_git/<repository>`).