Skip to content

Commit

Permalink
Use absolute() instead of resolve().
Browse files Browse the repository at this point in the history
Note: Absolute does not resolve symbolic links.
  • Loading branch information
tibuch committed Feb 11, 2025
1 parent 944752b commit 285cfcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/faim_ipa/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def resolve(relative_path: Path, reference: Path) -> Path:
"""
if relative_path.is_absolute():
return relative_path
return (reference / relative_path).resolve()
return (reference / relative_path).absolute()


def make_relative(path: Path, reference: Path):
Expand Down

0 comments on commit 285cfcd

Please sign in to comment.