diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2020-07-30 21:39:08 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-30 12:09:08 -0400 |
commit | 0da4779b178a0c97925c1ef5589d0f24a37f4501 (patch) | |
tree | 0be0e95c53ec8f2f83b05a8c60a5fbbf56fd3689 /cli/main.rs | |
parent | 95597fc6e2ed9975c26eae77ba68ae42ca2c331a (diff) |
feat(unstable): add "--ignore" flag to deno fmt (#6890)
Diffstat (limited to 'cli/main.rs')
-rw-r--r-- | cli/main.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cli/main.rs b/cli/main.rs index 4a87db922..3a6000c2b 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -719,9 +719,11 @@ pub fn main() { DenoSubcommand::Cache { files } => { cache_command(flags, files).boxed_local() } - DenoSubcommand::Fmt { check, files } => { - fmt::format(files, check).boxed_local() - } + DenoSubcommand::Fmt { + check, + files, + ignore, + } => fmt::format(files, check, ignore).boxed_local(), DenoSubcommand::Info { file, json } => { info_command(flags, file, json).boxed_local() } |