Skip to content

Commit

Permalink
fix: resolve symlink
Browse files Browse the repository at this point in the history
Signed-off-by: Hayato Mizushima <[email protected]>
  • Loading branch information
hayato-m126 committed Nov 15, 2024
1 parent 4e327fb commit de70a72
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ def extract_remap_topics(profile_name: str) -> list[str]:
"remap",
f"{profile_name}.yaml"
)
# Make it work with symlink install as well.
if profile_file.is_symlink():
profile_file = profile_file.resolve()
if not profile_file.exists():
return []
with profile_file.open("r") as f:
Expand Down

0 comments on commit de70a72

Please sign in to comment.