Skip to content

Commit

Permalink
Fix #153797
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy081 committed Jul 1, 2022
1 parent 0b3574d commit c7c3174
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class ExtensionsCleaner extends Disposable {
) {
super();

extensionManagementService.removeUninstalledExtensions(this.userDataProfilesService.profiles.length > 1);
extensionManagementService.removeUninstalledExtensions(this.userDataProfilesService.profiles.length === 0);
migrateUnsupportedExtensions(extensionManagementService, extensionGalleryService, extensionStorageService, extensionEnablementService, logService);
ExtensionStorageService.removeOutdatedExtensionVersions(extensionManagementService, storageService);
this._register(instantiationService.createInstance(ProfileExtensionsCleaner));
Expand Down

0 comments on commit c7c3174

Please sign in to comment.