@backstage/integration 1.2.1-next.1 → 1.2.2-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/config.d.ts +4 -1
- package/dist/index.cjs.js +4 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -0
- package/dist/index.esm.js.map +1 -1
- package/package.json +5 -5
package/dist/index.esm.js
CHANGED
|
@@ -187,6 +187,10 @@ const _AzureUrl = class {
|
|
|
187
187
|
owner = parts[1];
|
|
188
188
|
project = parts[2];
|
|
189
189
|
repo = parts[4];
|
|
190
|
+
} else if (parts[4] === "_git") {
|
|
191
|
+
owner = `${parts[1]}/${parts[2]}`;
|
|
192
|
+
project = parts[3];
|
|
193
|
+
repo = parts[5];
|
|
190
194
|
}
|
|
191
195
|
if (!owner || !project || !repo) {
|
|
192
196
|
throw new Error("Azure URL must point to a git repository");
|