`az extension add` doesn't delete the temporary folder after it succeeds
Open
Extensions
feature-request
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
**Describe the bug**
`az extension add` doesn't delete the temporary folder after it succeeds.
**To Reproduce**
```
az extension add --upgrade -n application-insights
```
The temporary folder and `whl` file still exists at `C:\Users\username\AppData\Local\Temp\tmpxxxxxxxx\application_insights-0.1.13-py2.py3-none-any.whl`
**Expected behavior**
The temporary folder and `whl` file should be deleted, even though it doesn't cause any negative effect except leaving some trash behind.
Contributor guide
Assessment
This issue has not been assessed yet.