Skip to content

Commit

Permalink
colrev-packages: if direct-url does not start with file://, it is not…
Browse files Browse the repository at this point in the history
… local
  • Loading branch information
geritwagner committed Oct 14, 2024
1 parent e8dd07f commit 2edb3c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions colrev/package_manager/colrev_internal_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ def _get_local_editable_colrev_path() -> str:
if "url" not in data:
return ""

if not data["url"].startswith("file://"):
return ""

editable_dir = data["url"].replace("file://", "")
return editable_dir

Expand Down

0 comments on commit 2edb3c0

Please sign in to comment.