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/factory.rs | |
parent | 804b97c6362d4dc31c25fd48b737d4eb69b9f176 (diff) |
fix(cli): Don't panic on invalid emit options (#23463)
Fixes #23456.
Diffstat (limited to 'cli/factory.rs')
-rw-r--r-- | cli/factory.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/factory.rs b/cli/factory.rs index 2d685ce76..1a0584eea 100644 --- a/cli/factory.rs +++ b/cli/factory.rs @@ -563,7 +563,7 @@ impl CliFactory { let (transpile_options, emit_options) = crate::args::ts_config_to_transpile_and_emit_options( ts_config_result.ts_config, - ); + )?; Ok(Arc::new(Emitter::new( self.emit_cache()?.clone(), self.parsed_source_cache().clone(), |