-
-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Lines 370 to 381 in 9ec3337
if specifier.starts_with("file://") { | |
let unsupported_error = ResolveError::PathNotSupported(specifier.into()); | |
let path = Url::parse(specifier) | |
.map_err(|_| unsupported_error.clone())? | |
.to_file_path() | |
.map_err(|()| unsupported_error)?; | |
let owned = path.to_string_lossy().into_owned(); | |
specifier_owned = Some(owned); | |
specifier = specifier_owned.as_deref().unwrap(); | |
} |
Metadata
Metadata
Assignees
Labels
No labels