From 1753c2d92ce09605a0eeb7e62640cd6e1665c84f Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Mon, 8 Apr 2024 19:54:56 +0200 Subject: [PATCH] Fix formatting for debug.ts --- src/debug.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/debug.ts b/src/debug.ts index cb4ee75..f2f4458 100644 --- a/src/debug.ts +++ b/src/debug.ts @@ -22,7 +22,10 @@ class Debug { // The createLogger() creates either an empty function or a bound console.log // function so we can retain accurate line lumbers on Debug.log() calls. -function createLogger(enabled: boolean, prefix?: string): (...args: unknown[]) => void { +function createLogger( + enabled: boolean, + prefix?: string, +): (...args: unknown[]) => void { if (enabled) { const a = console.log.bind(console, "%c%s", "color: #265BA0", prefix); return a;