summaryrefslogtreecommitdiff
path: root/cli/tools/bundle.rs
diff options
context:
space:
mode:
authorNathan Whitaker <17734409+nathanwhit@users.noreply.github.com>2024-04-23 08:50:50 -0700
committerGitHub <noreply@github.com>2024-04-23 08:50:50 -0700
commit8a367d3cc3d01ec3fd9f3f8033c9ff6cee59cc62 (patch)
treee4eb79336d094bc452befca74d771082e38fcfec /cli/tools/bundle.rs
parent804b97c6362d4dc31c25fd48b737d4eb69b9f176 (diff)
fix(cli): Don't panic on invalid emit options (#23463)
Fixes #23456.
Diffstat (limited to 'cli/tools/bundle.rs')
-rw-r--r--cli/tools/bundle.rs2
1 files changed, 1 insertions, 1 deletions
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 {