From 22a411575aff7c3de5f6ffb8b91ac883fbf9677d Mon Sep 17 00:00:00 2001 From: Vinayak Sarawagi Date: Sun, 14 Feb 2021 19:09:11 +0530 Subject: [PATCH] UPDATE linting of logger.ts --- lib/logger.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/logger.ts b/lib/logger.ts index 85185af..f74096b 100644 --- a/lib/logger.ts +++ b/lib/logger.ts @@ -60,12 +60,8 @@ export class Logger { } const pRows: any[] = []; - rows.forEach((r) => - pRows.push( - Object.values(r).map((e) => - (e.toString && e.toString()) || e - ) - ) + rows.forEach((r) => + pRows.push(Object.values(r).map((e) => (e.toString && e.toString()) || e)) ); const p = new Table({ head: uniqueCols });