summaryrefslogtreecommitdiff
path: root/cli/module_loader.rs
diff options
context:
space:
mode:
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 {