mirror of
https://github.com/microsoft/vscode.git
synced 2026-06-01 05:04:59 +01:00
* Revert "Revert "Fix #164690 #164730 (#165279)" (#165302)"
This reverts commit d9ed6d1ef4.
* store migration completion marker in profile
This commit is contained in:
committed by
GitHub
parent
209a5cd517
commit
e9db45a0de
@@ -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']) {
|
||||
|
||||
Reference in New Issue
Block a user