summaryrefslogtreecommitdiff
path: root/cli/module_loader.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-12-08 09:57:06 -0500
committerGitHub <noreply@github.com>2023-12-08 09:57:06 -0500
commitddfbe71cedbfe2ac31dbc7dbcf25761e5a7a1dce (patch)
treec25bc149f07c8f19b8cbf9029d97c7135425f57c /cli/module_loader.rs
parent6596912d5ae824bf68452f824a20e74d58a2e365 (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.rs7
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 {