We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8065690 commit 6a7a91bCopy full SHA for 6a7a91b
1 file changed
src/vs/platform/extensionManagement/common/extensionGalleryService.ts
@@ -217,7 +217,7 @@ function getCoreTranslationAssets(version: IRawGalleryExtensionVersion): [string
217
function getRepositoryAsset(version: IRawGalleryExtensionVersion): IGalleryExtensionAsset | null {
218
if (version.properties) {
219
const results = version.properties.filter(p => p.key === AssetType.Repository);
220
- const gitRegExp = new RegExp('((git|ssh|http(s)?)|(git@[\w\.]+))(:(//)?)([\w\.@\:/\-~]+)(\.git)(/)?');
+ const gitRegExp = new RegExp('((git|ssh|http(s)?)|(git@[\w.]+))(:(//)?)([\w.@\:/\-~]+)(.git)(/)?');
221
222
const uri = results.filter(r => gitRegExp.test(r.value))[0];
223
return uri ? { uri: uri.value, fallbackUri: uri.value } : null;
0 commit comments