move the mark to beginning (#176948)

This commit is contained in:
Sandeep Somavarapu
2023-03-13 03:51:50 -07:00
committed by GitHub
parent 83fe8e03fb
commit 75d574a4ff
@@ -77,12 +77,11 @@ export class RemoteExtensionsScannerService implements IRemoteExtensionsScannerS
}
async scanExtensions(language?: string, profileLocation?: URI, extensionDevelopmentLocations?: URI[], languagePackId?: string): Promise<IExtensionDescription[]> {
await this.whenExtensionsReady();
performance.mark('code/server/willScanExtensions');
this._logService.trace(`Scanning extensions using UI language: ${language}`);
await this.whenExtensionsReady();
const extensionDevelopmentPaths = extensionDevelopmentLocations ? extensionDevelopmentLocations.filter(url => url.scheme === Schemas.file).map(url => url.fsPath) : undefined;
profileLocation = profileLocation ?? this._userDataProfilesService.defaultProfile.extensionsResource;