diff options
Diffstat (limited to 'components')
-rw-r--r-- | components/util/opts.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/util/opts.rs b/components/util/opts.rs index 78ac6f9cee6..e8d5283b9b4 100644 --- a/components/util/opts.rs +++ b/components/util/opts.rs @@ -868,7 +868,7 @@ pub fn parse_url_or_filename(cwd: &Path, input: &str) -> Result<Url, ()> { match Url::parse(input) { Ok(url) => Ok(url), Err(url::ParseError::RelativeUrlWithoutBase) => { - Ok(Url::from_file_path(&*cwd.join(input)).unwrap()) + Url::from_file_path(&*cwd.join(input)) } Err(_) => Err(()), } |