diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-06-29 11:51:11 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-29 11:51:11 -0400 |
commit | 8c4420c0052ed374ce1692e5dfc8e4c67367a397 (patch) | |
tree | 1d09e18bc2402aafd771342347978997d3fea710 /cli/tools/fmt.rs | |
parent | 1328a562306eb16e7c429519cc92d82a1c451315 (diff) |
refactor: rename `RootConfig` to `CliOptions` (#15007)
Diffstat (limited to 'cli/tools/fmt.rs')
-rw-r--r-- | cli/tools/fmt.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tools/fmt.rs b/cli/tools/fmt.rs index 267b21d88..585bf6e92 100644 --- a/cli/tools/fmt.rs +++ b/cli/tools/fmt.rs @@ -7,10 +7,10 @@ //! the future it can be easily extended to provide //! the same functions as ops available in JS runtime. +use crate::args::CliOptions; use crate::args::FmtFlags; use crate::args::FmtOptionsConfig; use crate::args::ProseWrap; -use crate::args::RootConfig; use crate::colors; use crate::diff::diff; use crate::file_watcher; @@ -43,7 +43,7 @@ use super::incremental_cache::IncrementalCache; /// Format JavaScript/TypeScript files. pub async fn format( - config: &RootConfig, + config: &CliOptions, fmt_flags: FmtFlags, ) -> Result<(), AnyError> { let maybe_fmt_config = config.to_fmt_config()?; |