From 8a367d3cc3d01ec3fd9f3f8033c9ff6cee59cc62 Mon Sep 17 00:00:00 2001 From: Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> Date: Tue, 23 Apr 2024 08:50:50 -0700 Subject: fix(cli): Don't panic on invalid emit options (#23463) Fixes #23456. --- cli/tools/bundle.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/tools/bundle.rs') diff --git a/cli/tools/bundle.rs b/cli/tools/bundle.rs index e8b9076ea..7701b6024 100644 --- a/cli/tools/bundle.rs +++ b/cli/tools/bundle.rs @@ -147,7 +147,7 @@ fn bundle_module_graph( let (transpile_options, emit_options) = crate::args::ts_config_to_transpile_and_emit_options( ts_config_result.ts_config, - ); + )?; deno_emit::bundle_graph( graph, deno_emit::BundleOptions { -- cgit v1.2.3