diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2023-02-09 22:00:23 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-09 22:00:23 -0500 |
| commit | b3e88e0681248631b4bf8e4d9cd2e4d2c651f333 (patch) | |
| tree | cd526bb63ef712e21aef24ff77703727791f48d5 /cli/tools/bench.rs | |
| parent | 8da235adced567839912344ba092fb445683485a (diff) | |
refactor: deno_graph 0.43 upgrade (#17692)
Diffstat (limited to 'cli/tools/bench.rs')
| -rw-r--r-- | cli/tools/bench.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tools/bench.rs b/cli/tools/bench.rs index 419ac2da6..be0d9ba6c 100644 --- a/cli/tools/bench.rs +++ b/cli/tools/bench.rs @@ -4,7 +4,7 @@ use crate::args::BenchOptions; use crate::args::CliOptions; use crate::args::TypeCheckMode; use crate::colors; -use crate::graph_util::graph_valid; +use crate::graph_util::graph_valid_with_cli_options; use crate::ops; use crate::proc_state::ProcState; use crate::tools::test::format_test_error; @@ -549,7 +549,7 @@ pub async fn run_benchmarks_with_watch( bench_modules.clone() }; let graph = ps.create_graph(bench_modules.clone()).await?; - graph_valid(&graph, !no_check, ps.options.check_js())?; + graph_valid_with_cli_options(&graph, &bench_modules, &ps.options)?; // TODO(@kitsonk) - This should be totally derivable from the graph. for specifier in bench_modules { |
