Skip to content

fix: remove temp dir if extension is installed by another source - #213379

Merged
Sandeep Somavarapu (sandy081) merged 1 commit into
microsoft:mainfrom
Yesterday17:remove-temp-dir
May 29, 2024
Merged

Sandeep Somavarapu (sandy081) merged 1 commit into
microsoft:mainfrom
Yesterday17:remove-temp-dir

Conversation

@Yesterday17

@Yesterday17 Yesterday17 (Yesterday17) commented May 24, 2024

Copy link
Copy Markdown
Contributor

In current implementation, if an extension was installed by another source, then the extracted temp folder would not be deleted, causing lots of temporary folders left on my machine.

image

This PR fixed this issue by removing the temp directory on ENOTEMPTY.

@sandy081
Sandeep Somavarapu (sandy081) merged commit c2667dd into microsoft:main May 29, 2024
@microsoft Microsoft (microsoft) locked and limited conversation to collaborators Jul 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants