Skip to content

Commit

Permalink
address one more comment
Browse files Browse the repository at this point in the history
  • Loading branch information
HysunHe committed Dec 27, 2024
1 parent 4fc8928 commit 5486b2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sky/data/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -3950,7 +3950,7 @@ def _download_file(self, remote_path: str, local_path: str) -> None:
if remote_path.startswith(f'/{self.name}'):
# If the remote path is /bucket_name, we need to
# remove the leading /
remote_path = remote_path.lstrip()
remote_path = remote_path.lstrip('/')

filename = os.path.basename(remote_path)
if not local_path.endswith(filename):
Expand Down

0 comments on commit 5486b2d

Please sign in to comment.