Fixes #73656: Do not activate extensions if the search for glob patterns from workspaceContains times out

This commit is contained in:
Alex Dima
2021-11-19 09:57:45 +01:00
parent 39155b5711
commit 9fd6ee7095
5 changed files with 18 additions and 11 deletions

View File

@@ -551,6 +551,7 @@ export abstract class AbstractExtHostExtensionService extends Disposable impleme
const localWithRemote = !this._initData.remote.isRemote && !!this._initData.remote.authority;
const host: IExtensionActivationHost = {
logService: this._logService,
folders: folders.map(folder => folder.uri),
forceUsingSearch: localWithRemote,
exists: (uri) => this._hostUtils.exists(uri.fsPath),