From 9837d324a7c3f5e1c850dadabfd670edad4aa85b Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Thu, 14 Nov 2019 05:42:34 +1100 Subject: Update to TypeScript 3.7 (#3275) and update to prettier 1.19 Also, update `assert()` and remove not null assertions where possibly in `cli`. Closes #3273 --- std/log/logger.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'std/log/logger.ts') diff --git a/std/log/logger.ts b/std/log/logger.ts index 7ef96e15a..482743b23 100644 --- a/std/log/logger.ts +++ b/std/log/logger.ts @@ -36,11 +36,9 @@ export class Logger { level: level, levelName: getLevelName(level) }; - this.handlers.forEach( - (handler): void => { - handler.handle(record); - } - ); + this.handlers.forEach((handler): void => { + handler.handle(record); + }); } debug(msg: string, ...args: unknown[]): void { -- cgit v1.2.3