Skip to content

bugfix(delete): change os.Remove to os.RemoveAll - #96

Open
coelho013 wants to merge 1 commit into
SourcewareLab:devfrom
coelho013:bugfix/delete-non-empty-dir
Open

bugfix(delete): change os.Remove to os.RemoveAll#96
coelho013 wants to merge 1 commit into
SourcewareLab:devfrom
coelho013:bugfix/delete-non-empty-dir

Conversation

@coelho013

@coelho013 coelho013 commented Aug 29, 2026

Copy link
Copy Markdown

#79

Fixes the issue where trying to delete a non-empty directory fails. Changed os.Remove to os.RemoveAll to ensure nested files are removed properly.

Note: As a future improvement, we could create a new enum in popuptype named DirDelete to customize the message between "delete dir" and "delete file".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant