diff options
author | Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> | 2024-04-23 08:50:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-23 08:50:50 -0700 |
commit | 8a367d3cc3d01ec3fd9f3f8033c9ff6cee59cc62 (patch) | |
tree | e4eb79336d094bc452befca74d771082e38fcfec /cli/tools/compile.rs | |
parent | 804b97c6362d4dc31c25fd48b737d4eb69b9f176 (diff) |
fix(cli): Don't panic on invalid emit options (#23463)
Fixes #23456.
Diffstat (limited to 'cli/tools/compile.rs')
-rw-r--r-- | cli/tools/compile.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/compile.rs b/cli/tools/compile.rs index 75572cd42..7f31b9035 100644 --- a/cli/tools/compile.rs +++ b/cli/tools/compile.rs @@ -76,7 +76,7 @@ pub async fn compile( let (transpile_options, emit_options) = crate::args::ts_config_to_transpile_and_emit_options( ts_config_for_emit.ts_config, - ); + )?; let parser = parsed_source_cache.as_capturing_parser(); let eszip = eszip::EszipV2::from_graph( graph, |