mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-31 20:55:34 +01:00
- Maintain default installed extensions manifest always - Adopt to default installed extensions manifest - Add externally installed extension to default extensions manifest
This commit is contained in:
committed by
GitHub
parent
14d922cd51
commit
9c0c68c8cf
@@ -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