-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Check if from_path and local_path are the same in LocalFileSystem.get… #6824
Conversation
✅ Deploy Preview for prefect-orion ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site settings. |
This makes sense to me! Thanks for contributing :) Can you write a test that covers this change please? |
@madkinsz done! |
I presume this is just following a consistent code path for simplicity of implementation, but I'm not the current expert on this section. With this change it'll just be a no-op, correct? |
|
FYI there are some brief notes on using pre-commit or installing our required |
@madkinsz I know, I was just lazy because I was using github.dev the issue was also very hard to notice just by the logs, just needed some whitespace trimming (which I have by default on my local editor 🤦). Anyway, I did things proper now, so it should be ok |
Thanks again! |
Fixes #6652
Check if the resolved
from_path
andlocal_path
are the same, if yes, do not copy anything.Example
Checklist
<link to issue>
"fix
,feature
,enhancement
,docs
,collections
, ormaintenance
label categorizing the change.