diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-12-08 09:57:06 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-08 09:57:06 -0500 |
commit | ddfbe71cedbfe2ac31dbc7dbcf25761e5a7a1dce (patch) | |
tree | c25bc149f07c8f19b8cbf9029d97c7135425f57c /cli/module_loader.rs | |
parent | 6596912d5ae824bf68452f824a20e74d58a2e365 (diff) |
feat(lsp): provide quick fixes for specifiers that could be resolved sloppily (#21506)
Diffstat (limited to 'cli/module_loader.rs')
-rw-r--r-- | cli/module_loader.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cli/module_loader.rs b/cli/module_loader.rs index afd2d1999..b10b2f627 100644 --- a/cli/module_loader.rs +++ b/cli/module_loader.rs @@ -169,7 +169,12 @@ impl ModuleLoadPreparer { ) .await?; - graph_valid_with_cli_options(graph, &self.fs, &roots, &self.options)?; + graph_valid_with_cli_options( + graph, + self.fs.as_ref(), + &roots, + &self.options, + )?; // If there is a lockfile... if let Some(lockfile) = &self.lockfile { |