From 0da4779b178a0c97925c1ef5589d0f24a37f4501 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Thu, 30 Jul 2020 21:39:08 +0530 Subject: feat(unstable): add "--ignore" flag to deno fmt (#6890) --- cli/main.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'cli/main.rs') 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() } -- cgit v1.2.3