This commit is contained in:
Megan Rogge
2022-11-02 20:48:32 -04:00
committed by GitHub
parent 4efa993b13
commit d9ed6d1ef4
29 changed files with 587 additions and 387 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) ?? userDataProfilesService.defaultProfile : userDataProfilesService.defaultProfile).extensionsResource;
const profileLocation = environmentService.args.profile ? userDataProfilesService.profiles.find(p => p.name === environmentService.args.profile)?.extensionsResource : userDataProfilesService.defaultProfile.extensionsResource;
// Install Source
if (this.argv['install-source']) {