diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-08-24 11:21:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-24 11:21:34 +0200 |
commit | f9beb928186f4edb07e07c96b677f14e75c428bb (patch) | |
tree | 4b9b6a3d6151ee2c1525e95678a99eedfc4647b3 /cli/factory.rs | |
parent | b1ce2e41676ab5bc807a705b072986d9357fece5 (diff) |
refactor: use "deno_config" crate (#20260)
Moved the configuration file to https://github.com/denoland/deno_config
as we will have to use it in other projects.
Diffstat (limited to 'cli/factory.rs')
-rw-r--r-- | cli/factory.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/factory.rs b/cli/factory.rs index dbf9bd95b..42d98e234 100644 --- a/cli/factory.rs +++ b/cli/factory.rs @@ -474,8 +474,8 @@ impl CliFactory { if let Some(ignored_options) = ts_config_result.maybe_ignored_options { warn!("{}", ignored_options); } - let emit_options: deno_ast::EmitOptions = - ts_config_result.ts_config.into(); + let emit_options = + crate::args::ts_config_to_emit_options(ts_config_result.ts_config); Ok(Arc::new(Emitter::new( self.emit_cache()?.clone(), self.parsed_source_cache()?.clone(), |