AUTH-3148 fixed cloudflared copy and match all the files in the checksum upload

This commit is contained in:
Dalton
2020-10-06 11:20:08 -05:00
parent a986355a61
commit d21989dba4
2 changed files with 7 additions and 6 deletions

View File

@@ -200,10 +200,10 @@ def main():
# copy the binary to the path
copy_path = os.path.join(artifact_path, args.name)
if args.path != copy_path:
try:
shutil.copy(args.path, copy_path)
except shutil.SameFileError:
pass # the macOS release copy fails with being the same file (already in the artifacts directory). Catching to ignore.
except Exception as e:
logging.exception(e)