From a1d0a427e807959666a6b23ae015e4e04659abf5 Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Wed, 18 Sep 2024 12:15:13 -0700 Subject: feat: default to TS for file extension and support ext flag in more scenarios (#25472) Closes #11220 Currently does lint, fmt, and repl --- cli/tools/bench/mod.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cli/tools/bench') diff --git a/cli/tools/bench/mod.rs b/cli/tools/bench/mod.rs index f133759c9..be5d0ad0e 100644 --- a/cli/tools/bench/mod.rs +++ b/cli/tools/bench/mod.rs @@ -442,7 +442,9 @@ pub async fn run_benchmarks( } let main_graph_container = factory.main_module_graph_container().await?; - main_graph_container.check_specifiers(&specifiers).await?; + main_graph_container + .check_specifiers(&specifiers, cli_options.ext_flag().as_ref()) + .await?; if workspace_bench_options.no_run { return Ok(()); @@ -569,7 +571,7 @@ pub async fn run_benchmarks_with_watch( factory .main_module_graph_container() .await? - .check_specifiers(&specifiers) + .check_specifiers(&specifiers, cli_options.ext_flag().as_ref()) .await?; if workspace_bench_options.no_run { -- cgit v1.2.3