Skip to content

Commit

Permalink
Resolve the process and root paths when comparing
Browse files Browse the repository at this point in the history
  • Loading branch information
allenporter committed Mar 18, 2023
1 parent c2363f9 commit 57333d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flux_local/git_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def relative_path(self) -> Path:
"""
if not self.process_path.is_absolute():
return self.process_path
return self.process_path.relative_to(self.root)
return self.process_path.resolve().relative_to(self.root.resolve())

@property
def process_path(self) -> Path:
Expand Down

0 comments on commit 57333d2

Please sign in to comment.