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

Properly handle returned value for RemoveDir #56

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

Wires77
Copy link
Member

@Wires77 Wires77 commented Mar 29, 2024

remove returns true if the deletion was successful, so we should be checking the inverse of the return value for errors.

Fixes PathOfBuildingCommunity/PathOfBuilding#7508

Copy link
Contributor

@zao zao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@Wires77 Wires77 merged commit b9118e2 into PathOfBuildingCommunity:master Apr 10, 2024
@Wires77 Wires77 deleted the fix_folder_delete branch April 10, 2024 04:56
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.

Application throws error: "No Error" when deleting empty folder
2 participants