fix: handle the ** root_path case correctly in copy_to_directory

This commit is contained in:
Greg Magolan 2022-08-25 21:25:13 -07:00
parent af057bd509
commit 9efedb72c0
1 changed files with 1 additions and 1 deletions

View File

@ -392,7 +392,7 @@ def _copy_paths(
if root_paths:
globstar_suffix = False
for root_path in root_paths:
if root_path.endswith("/**"):
if root_path.endswith("**"):
globstar_suffix = True
break
if not output_path_is_directory and globstar_suffix: