src/vs/platform/extensionManagement/node/extensionManagementService.ts/InstallExtensionInProfileTask/waitAndAddExtensionToProfile
class InstallExtensionInProfileTask:	private async waitAndAddExtensionToProfile(): Promise<{ local: ILocalExtension; metadata: Metadata }> {
		const result = await this.task.waitUntilTaskIsFinished();
		await this.extensionsProfileScannerService.addExtensionsToProfile([[result.local, result.metadata]], this.profileLocation);
		return result;
	}