Skip to content

Commit

Permalink
use relative imports for tosca_repositories symlinks
Browse files Browse the repository at this point in the history
Co-Authored-By: Adam Souzis <[email protected]>
  • Loading branch information
detjensrobert and aszs committed Sep 15, 2023
1 parent b38b530 commit 78aef0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unfurl/localenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -1397,7 +1397,7 @@ def link_repo(self, base_path: str, name: str, url: str, revision):
target = repo_root / name
if os.path.exists(target):
os.unlink(target)
os.symlink(repo.working_dir, repo_root / name, True)
os.symlink(Path(repo.working_dir).relative_to(repo_root), repo_root / name, True)
return repo.working_dir

def map_value(self, val: Any, env_rules: Optional[dict]) -> Any:
Expand Down

0 comments on commit 78aef0b

Please sign in to comment.