From 851344f2ed588c0aa5db4fa66b7326900fdf9b5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 1 Jul 2020 16:04:56 +0200 Subject: upgrade: swc_ecma_visit, dprint, deno_lint (#6580) --- std/testing/bench.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'std/testing') diff --git a/std/testing/bench.ts b/std/testing/bench.ts index 366d6ec1b..e6f4582b9 100644 --- a/std/testing/bench.ts +++ b/std/testing/bench.ts @@ -328,13 +328,13 @@ export async function runBenchmarks( if (!silent) { // Closing results console.log( - `benchmark result: ${!!failError ? red("FAIL") : blue("DONE")}. ` + + `benchmark result: ${failError ? red("FAIL") : blue("DONE")}. ` + `${progress.results.length} measured; ${filtered} filtered` ); } // Throw error if there was a failing benchmark - if (!!failError) { + if (failError) { throw failError; } -- cgit v1.2.3