Skip to content

Commit abce0e8

Browse files
committed
Remove that ui extensions can run on both local and remote sides (#85036)
1 parent acd7df1 commit abce0e8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/vs/workbench/services/extensions/electron-browser/extensionService.ts

-4
Original file line numberDiff line numberDiff line change
@@ -514,13 +514,9 @@ export class ExtensionService extends AbstractExtensionService implements IExten
514514
const pickRunningLocation = (extension: IExtensionDescription): RunningLocation => {
515515
for (const extensionKind of getExtensionKind(extension, this._productService, this._configurationService)) {
516516
if (extensionKind === 'ui') {
517-
// a ui extension can run on both sides for now...
518517
if (isInstalledLocally.has(ExtensionIdentifier.toKey(extension.identifier))) {
519518
return RunningLocation.Local;
520519
}
521-
if (isInstalledRemotely.has(ExtensionIdentifier.toKey(extension.identifier))) {
522-
return RunningLocation.Remote;
523-
}
524520
} else if (extensionKind === 'workspace') {
525521
if (isInstalledRemotely.has(ExtensionIdentifier.toKey(extension.identifier))) {
526522
return RunningLocation.Remote;

0 commit comments

Comments
 (0)