We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f10898d commit c2667ddCopy full SHA for c2667dd
src/vs/platform/extensionManagement/node/extensionManagementService.ts
@@ -602,6 +602,7 @@ export class ExtensionsScanner extends Disposable {
602
} catch (error) {
603
if (error.code === 'ENOTEMPTY') {
604
this.logService.info(`Rename failed because extension was installed by another source. So ignoring renaming.`, extensionKey.id);
605
+ try { await this.fileService.del(tempLocation, { recursive: true }); } catch (e) { /* ignore */ }
606
} else {
607
this.logService.info(`Rename failed because of ${getErrorMessage(error)}. Deleted from extracted location`, tempLocation);
608
throw error;
0 commit comments