bug: creating zip of workspace root tries to save outside of workspace #43
Labels
bug
Something isn't working
confirmed
This issue has been confirmed by testing
good first issue
Good for newcomers
Describe the bug
Creating a zip of the workspace root (either through right-clicking the area of the explorer view that does not contain any files, or through the command interface) causes the extension to attempt to save to a location that is outside the current workspace.
To Reproduce
Steps to reproduce the behavior:
Zip Tools: Create a zip file from folder
.Saving...
and loads indefinitely. Console shows error (below).Expected behavior
The extension should not try to write outside of the workspace but should instead show an error. Perhaps it could also ask if the user would like to save it to the workspace root instead.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
What type of VS Code were you using when you encountered the problem?
vscode.dev
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: