Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Sep 23, 2024
1 parent 139956a commit e7c2284
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/deno_json/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -933,10 +933,12 @@ impl ConfigFile {
"flag and \"deno.importMap\" in the language server config"
));
}
return Ok(Some(specifier_to_file_path(&specifier)?));
return Ok(Some(url_to_file_path(&specifier)?));
}
// now as a relative file path
Ok(Some(specifier_parent(&self.specifier).join(value)?))
Ok(Some(url_to_file_path(
&specifier_parent(&self.specifier).join(value)?,
)?))
}

pub fn vendor(&self) -> Option<bool> {
Expand Down

0 comments on commit e7c2284

Please sign in to comment.