mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-07 17:44:05 -05:00
Fix recently-broken cleanup of obsolete (superseded) extension folders (#189335)
This commit is contained in:
@@ -570,7 +570,7 @@ export class ExtensionsScanner extends Disposable {
|
||||
}
|
||||
|
||||
async removeExtension(extension: ILocalExtension | IScannedExtension, type: string): Promise<void> {
|
||||
if (this.uriIdentityService.extUri.isEqualOrParent(this.extensionsScannerService.userExtensionsLocation, extension.location)) {
|
||||
if (this.uriIdentityService.extUri.isEqualOrParent(extension.location, this.extensionsScannerService.userExtensionsLocation)) {
|
||||
return this.deleteExtensionFromLocation(extension.identifier.id, extension.location, type);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user