chore: normalize src and outputs paths in copy_to_directory (#206)

This commit is contained in:
Greg Magolan 2022-08-01 13:14:18 -07:00 committed by GitHub
parent 06d54eef4c
commit 165d7dafdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -410,7 +410,7 @@ def _copy_paths(
# replace the longest matching prefix in the output path
output_path = replace_prefixes[matching_expr] + output_path[len(longest_match):]
return src_path, output_path, src_file
return skylib_paths.normalize(src_path), skylib_paths.normalize(output_path), src_file
def _merge_into_copy_path(copy_paths, src_path, dst_path, src_file):
for i, s in enumerate(copy_paths):