fix: update patch

This commit is contained in:
Baptiste Augrain
2025-02-13 15:25:47 +01:00
parent c773d683f4
commit 05759066e3

View File

@@ -1,22 +1,19 @@
diff --git a/build/lib/builtInExtensions.js b/build/lib/builtInExtensions.js diff --git a/build/lib/builtInExtensions.js b/build/lib/builtInExtensions.js
index 400ca68..f37060a 100644 index 249777c..129af8a 100644
--- a/build/lib/builtInExtensions.js --- a/build/lib/builtInExtensions.js
+++ b/build/lib/builtInExtensions.js +++ b/build/lib/builtInExtensions.js
@@ -83,5 +83,3 @@ function isUpToDate(extension) { @@ -87,5 +87,2 @@ function getExtensionDownloadStream(extension) {
function getExtensionDownloadStream(extension) { }
- const galleryServiceUrl = productjson.extensionsGallery?.serviceUrl; - else if (productjson.extensionsGallery?.serviceUrl) {
- return (galleryServiceUrl ? ext.fromMarketplace(galleryServiceUrl, extension) : ext.fromGithub(extension)) - input = ext.fromMarketplace(productjson.extensionsGallery.serviceUrl, extension);
- .pipe((0, gulp_rename_1.default)(p => p.dirname = `${extension.name}/${p.dirname}`)); - }
+ return ext.fromGithub(extension).pipe((0, gulp_rename_1.default)(p => p.dirname = `${extension.name}/${p.dirname}`)); else {
}
diff --git a/build/lib/builtInExtensions.ts b/build/lib/builtInExtensions.ts diff --git a/build/lib/builtInExtensions.ts b/build/lib/builtInExtensions.ts
index 9b1ec73..1cb3301 100644 index e9a1180..b8348e3 100644
--- a/build/lib/builtInExtensions.ts --- a/build/lib/builtInExtensions.ts
+++ b/build/lib/builtInExtensions.ts +++ b/build/lib/builtInExtensions.ts
@@ -70,5 +70,3 @@ function isUpToDate(extension: IExtensionDefinition): boolean { @@ -75,4 +75,2 @@ function getExtensionDownloadStream(extension: IExtensionDefinition) {
function getExtensionDownloadStream(extension: IExtensionDefinition) { input = ext.fromVsix(path.join(root, extension.vsix), extension);
- const galleryServiceUrl = productjson.extensionsGallery?.serviceUrl; - } else if (productjson.extensionsGallery?.serviceUrl) {
- return (galleryServiceUrl ? ext.fromMarketplace(galleryServiceUrl, extension) : ext.fromGithub(extension)) - input = ext.fromMarketplace(productjson.extensionsGallery.serviceUrl, extension);
- .pipe(rename(p => p.dirname = `${extension.name}/${p.dirname}`)); } else {
+ return ext.fromGithub(extension).pipe(rename(p => p.dirname = `${extension.name}/${p.dirname}`));
}