diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-05-10 18:16:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-10 18:16:39 +0200 |
commit | ce48b32979b007c35130321ed0f91d8ffdb6d593 (patch) | |
tree | 6cab6a1349fb9541eac0324efbfc563625d5e656 /cli/lsp/tsc.rs | |
parent | 7fc211e62752dddd4f70f8feef24dbcea795c1eb (diff) |
refactor(cli): replace loading file for --config flag with generic structure (#10481)
Currently file passed to --config file is parsed using TsConfig structure
that does multiple things when loading the file. Instead of relying on that
structure I've introduced ConfigFile structure that can be updated to
sniff out more fields from the config file in the future.
Diffstat (limited to 'cli/lsp/tsc.rs')
-rw-r--r-- | cli/lsp/tsc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/tsc.rs b/cli/lsp/tsc.rs index 869a61838..d5cedfd51 100644 --- a/cli/lsp/tsc.rs +++ b/cli/lsp/tsc.rs @@ -11,11 +11,11 @@ use super::semantic_tokens::TsTokenEncodingConsts; use super::text; use super::text::LineIndex; +use crate::config_file::TsConfig; use crate::media_type::MediaType; use crate::tokio_util::create_basic_runtime; use crate::tsc; use crate::tsc::ResolveArgs; -use crate::tsc_config::TsConfig; use deno_core::error::anyhow; use deno_core::error::custom_error; |