Skip to content

Commit

Permalink
USHIFT-1030:update docsting for merge_paths(pathl, pathr)
Browse files Browse the repository at this point in the history
  • Loading branch information
chiragkyal committed Apr 4, 2023
1 parent 7e1d39a commit 64409ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/auto-rebase/handle-assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@


def merge_paths(pathl, pathr):
"""Merge two paths into one"""
"""Merge two paths into one by removing any '/' prefix from pathr and then appending it to pathl"""
if pathr.startswith("/"):
return pathr[1:]
return os.path.join(pathl, pathr)
Expand Down

0 comments on commit 64409ec

Please sign in to comment.