Resolve path to be extra sure

This commit is contained in:
Ines Montani 2020-09-11 09:56:49 +02:00
parent 1723fb73c4
commit 6831161bfa
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ def project_assets(project_dir: Path) -> None:
msg.warn(f"No assets specified in {PROJECT_FILE}", exits=0)
msg.info(f"Fetching {len(assets)} asset(s)")
for asset in assets:
dest = project_dir / asset["dest"]
dest = (project_dir / asset["dest"]).resolve()
checksum = asset.get("checksum")
if "git" in asset:
if dest.exists():