* Revert "Revert "Fix #164690 #164730 (#165279)" (#165302)"

This reverts commit d9ed6d1ef4.

* store migration completion marker in profile
This commit is contained in:
Sandeep Somavarapu
2022-11-03 12:02:53 +01:00
committed by GitHub
parent 209a5cd517
commit e9db45a0de
29 changed files with 386 additions and 586 deletions
+1 -1
View File
@@ -245,7 +245,7 @@ class CliMain extends Disposable {
}
private async doRun(environmentService: INativeEnvironmentService, fileService: IFileService, userDataProfilesService: IUserDataProfilesService, instantiationService: IInstantiationService): Promise<void> {
const profileLocation = environmentService.args.profile ? userDataProfilesService.profiles.find(p => p.name === environmentService.args.profile)?.extensionsResource : userDataProfilesService.defaultProfile.extensionsResource;
const profileLocation = (environmentService.args.profile ? userDataProfilesService.profiles.find(p => p.name === environmentService.args.profile) ?? userDataProfilesService.defaultProfile : userDataProfilesService.defaultProfile).extensionsResource;
// Install Source
if (this.argv['install-source']) {