diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-12-07 15:59:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-07 15:59:13 -0500 |
commit | 78566753c81a26dc1855d8187c8192ffb1ba64e2 (patch) | |
tree | 73500bbd29baf164312f5bce58d880300a67a52a /cli/tools/bench/mod.rs | |
parent | 3f96e5a29a88afafcef0f17458b2800b2db316ee (diff) |
feat: add suggestions to module not found error messages for file urls (#21498)
Diffstat (limited to 'cli/tools/bench/mod.rs')
-rw-r--r-- | cli/tools/bench/mod.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cli/tools/bench/mod.rs b/cli/tools/bench/mod.rs index ed6192b3b..b04aa757d 100644 --- a/cli/tools/bench/mod.rs +++ b/cli/tools/bench/mod.rs @@ -495,7 +495,12 @@ pub async fn run_benchmarks_with_watch( let graph = module_graph_builder .create_graph(graph_kind, bench_modules.clone()) .await?; - graph_valid_with_cli_options(&graph, &bench_modules, cli_options)?; + graph_valid_with_cli_options( + &graph, + factory.fs(), + &bench_modules, + cli_options, + )?; let bench_modules_to_reload = if let Some(changed_paths) = changed_paths { |