Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/unmapjs/extractor.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import re
from pathlib import Path
from urllib.parse import urlparse

from .constants import SOURCE_PATH_PREFIXES
from .ui import log_verbose
Expand Down Expand Up @@ -71,6 +72,7 @@ def clean_source_path(path):
return None

cleaned = cleaned.lstrip("./")
cleaned = urlparse(cleaned).path

if not cleaned:
return None
Expand Down