Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
May 29, 2024

Conversation

Yesterday17
Copy link
Contributor

@Yesterday17 Yesterday17 commented May 24, 2024

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 sandy081 added this to the May 2024 milestone May 29, 2024
@sandy081 sandy081 enabled auto-merge (squash) May 29, 2024 12:17
@sandy081 sandy081 merged commit c2667dd into microsoft:main May 29, 2024
6 checks passed
@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.

None yet

3 participants