Skip to content

Commit 6751c82

Browse files
committed
chore: update disable-builtin-ext-update.diff
If my logic is right, then this patch is now simplified thanks to this: https://github.com/microsoft/vscode/blob/1.74.1/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts#L1238
1 parent be1a560 commit 6751c82

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

patches/disable-builtin-ext-update.diff

-11
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,3 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/extensions/browser/extens
1818
if (!this.local.preRelease && this.gallery.properties.isPreReleaseVersion) {
1919
return false;
2020
}
21-
@@ -1237,6 +1241,10 @@ export class ExtensionsWorkbenchService
22-
// Skip if check updates only for builtin extensions and current extension is not builtin.
23-
continue;
24-
}
25-
+ if (installed.type !== ExtensionType.User) {
26-
+ // Never update builtin extensions.
27-
+ continue;
28-
+ }
29-
if (installed.isBuiltin && (!installed.local?.identifier.uuid || (!isWeb && this.productService.quality === 'stable'))) {
30-
// Skip checking updates for a builtin extension if it does not has Marketplace identifier or the current product is VS Code Desktop stable.
31-
continue;

0 commit comments

Comments
 (0)