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

Move bug same path #84

Merged
merged 4 commits into from
Oct 18, 2023
Merged

Move bug same path #84

merged 4 commits into from
Oct 18, 2023

Conversation

fogelito
Copy link
Contributor

@fogelito fogelito commented Aug 23, 2023

Fix bug when source and target are identical the file gets deleted.
appwrite/appwrite#5814

Copy link
Member

@abnegate abnegate left a comment

Choose a reason for hiding this comment

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

Let's return true instead of throwing an exception. Since the file will definitely be at $target, any code relying on it will still work, and it'll be easier to consume the library

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.

2 participants