Skip to content

Commit 8364f76

Browse files
Fix recently-broken cleanup of obsolete (superseded) extension folders (microsoft#189456)
Fix recently-broken cleanup of obsolete (superseded) extension folders (microsoft#189335) Co-authored-by: John Murray <[email protected]>
1 parent 4dfb92c commit 8364f76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/platform/extensionManagement/node/extensionManagementService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ export class ExtensionsScanner extends Disposable {
571571
}
572572

573573
async removeExtension(extension: ILocalExtension | IScannedExtension, type: string): Promise<void> {
574-
if (this.uriIdentityService.extUri.isEqualOrParent(this.extensionsScannerService.userExtensionsLocation, extension.location)) {
574+
if (this.uriIdentityService.extUri.isEqualOrParent(extension.location, this.extensionsScannerService.userExtensionsLocation)) {
575575
return this.deleteExtensionFromLocation(extension.identifier.id, extension.location, type);
576576
}
577577
}

0 commit comments

Comments
 (0)