fix: handle Azure DevOps _git URLs in custom module source parser

This commit is contained in:
Tankatronic 2026-04-15 12:06:27 -07:00 committed by Justin Loveless
parent e7bfb46191
commit 5b74cde45b
1 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ class CustomModuleManager {
}; };
} }
// Azure DevOps URL: https://dev.azure.com/{org}/{project}/_git/{repo} // Azure DevOps URL: https://dev.azure.com/{org}/{project}/_git/{repo}
// Also supports legacy: https://{org}.visualstudio.com/{project}/_git/{repo} // Also supports legacy: https://{org}.visualstudio.com/{project}/_git/{repo}
const adoModernMatch = trimmed.match( const adoModernMatch = trimmed.match(
/^https?:\/\/(dev\.azure\.com)\/([^/]+)\/([^/]+)\/_git\/([^/.]+?)(?:\.git)?(\/.*)?$/, /^https?:\/\/(dev\.azure\.com)\/([^/]+)\/([^/]+)\/_git\/([^/.]+?)(?:\.git)?(\/.*)?$/,