From 6831161bfa776273e0247f6241fea5f05f40623e Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Fri, 11 Sep 2020 09:56:49 +0200 Subject: [PATCH] Resolve path to be extra sure --- spacy/cli/project/assets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/cli/project/assets.py b/spacy/cli/project/assets.py index 4b59b7751..6f23f0e0a 100644 --- a/spacy/cli/project/assets.py +++ b/spacy/cli/project/assets.py @@ -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():