mirror of
https://github.com/denoland/deno.git
synced 2025-07-24 05:35:33 +00:00
refactor: add RootConfig
(#14985)
This commit is contained in:
parent
5b7bcefa11
commit
01adbb1efb
21 changed files with 917 additions and 819 deletions
|
@ -364,7 +364,7 @@ impl Inner {
|
|||
if let Some(root_uri) = &self.config.root_uri {
|
||||
let root_path = fs_util::specifier_to_file_path(root_uri)?;
|
||||
let mut checked = std::collections::HashSet::new();
|
||||
let maybe_config = crate::args::discover_from(&root_path, &mut checked)?;
|
||||
let maybe_config = ConfigFile::discover_from(&root_path, &mut checked)?;
|
||||
Ok(maybe_config.map(|c| {
|
||||
lsp_log!(" Auto-resolved configuration file: \"{}\"", c.specifier);
|
||||
c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue