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

fix: Fix copying symlink files for Windows #7351

Merged
merged 3 commits into from
Aug 14, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
make black happy
  • Loading branch information
hnnasit committed Aug 13, 2024
commit 294ad78cb717bd1f2b2ccbe5615111905a3e6a28
2 changes: 1 addition & 1 deletion samcli/lib/utils/osutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def copytree(source, destination, ignore=None):
except OSError as e:
if e.errno != errno.EINVAL:
raise e

# Symlinks do not get copied for Windows using shutil.copy2, which is why
# they are handled separately here.
create_symlink_or_copy(new_source, new_destination)
Expand Down
Loading