diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-02-27 08:27:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-27 08:27:21 +0000 |
commit | f1a691274e59d3f6a1aad19d1aec02a0ffaa51d2 (patch) | |
tree | 0f15a121968bd93b2ec4e456d04d00cae483059f /cli/lsp/language_server.rs | |
parent | d722de886b85093eeef08d1e9fd6f3193405762d (diff) |
feat(publish): discover jsr.json and jsr.jsonc files (#22587)
Closes https://github.com/denoland/deno/issues/22491
Diffstat (limited to 'cli/lsp/language_server.rs')
-rw-r--r-- | cli/lsp/language_server.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/lsp/language_server.rs b/cli/lsp/language_server.rs index 185cde6f9..45d1eed8a 100644 --- a/cli/lsp/language_server.rs +++ b/cli/lsp/language_server.rs @@ -654,7 +654,8 @@ impl Inner { if let Some(root_uri) = self.config.root_uri() { let root_path = specifier_to_file_path(root_uri)?; let mut checked = std::collections::HashSet::new(); - let maybe_config = ConfigFile::discover_from(&root_path, &mut checked)?; + let maybe_config = + ConfigFile::discover_from(&root_path, &mut checked, None)?; Ok(maybe_config.map(|c| { lsp_log!(" Auto-resolved configuration file: \"{}\"", c.specifier); c |