From fc843d035c0cb4936d9b87670e282667a9a8b265 Mon Sep 17 00:00:00 2001 From: Serhiy Barhamon Date: Sun, 12 Feb 2023 19:40:45 +0200 Subject: feat(bench): Add JSON reporter for "deno bench" subcommand (#17595) --- cli/args/mod.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli/args/mod.rs') diff --git a/cli/args/mod.rs b/cli/args/mod.rs index 95dfa4535..da36c7071 100644 --- a/cli/args/mod.rs +++ b/cli/args/mod.rs @@ -105,6 +105,7 @@ impl CacheSetting { pub struct BenchOptions { pub files: FilesConfig, pub filter: Option, + pub json: bool, } impl BenchOptions { @@ -119,6 +120,7 @@ impl BenchOptions { Some(bench_flags.files), ), filter: bench_flags.filter, + json: bench_flags.json, }) } } -- cgit v1.2.3