From 5b74cde45b397acf0e377f7f745cd4441fa51e0f Mon Sep 17 00:00:00 2001 From: Tankatronic Date: Wed, 15 Apr 2026 12:06:27 -0700 Subject: [PATCH] fix: handle Azure DevOps _git URLs in custom module source parser --- tools/installer/modules/custom-module-manager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/installer/modules/custom-module-manager.js b/tools/installer/modules/custom-module-manager.js index 9d95b9101..9901dc253 100644 --- a/tools/installer/modules/custom-module-manager.js +++ b/tools/installer/modules/custom-module-manager.js @@ -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} const adoModernMatch = trimmed.match( /^https?:\/\/(dev\.azure\.com)\/([^/]+)\/([^/]+)\/_git\/([^/.]+?)(?:\.git)?(\/.*)?$/, @@ -122,7 +122,7 @@ class CustomModuleManager { error: null, }; } - + // HTTPS URL: https://host/owner/repo[/tree/branch/subdir][.git] const httpsMatch = trimmed.match(/^https?:\/\/([^/]+)\/([^/]+)\/([^/.]+?)(?:\.git)?(\/.*)?$/); if (httpsMatch) {