From f4e923fdaba0e5518d287a89cd3ff695fc860cda Mon Sep 17 00:00:00 2001 From: Jeroen Engels Date: Fri, 1 Oct 2021 18:13:01 +0200 Subject: [PATCH] Formatting --- src/index.ts | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/index.ts b/src/index.ts index 4121afd..9e06e32 100644 --- a/src/index.ts +++ b/src/index.ts @@ -37,14 +37,20 @@ async function run(options: { outputFilePath: string | null, optimizeSpeed: boolean }) { - return runWithLogger(options, console.log.bind(console)); + return runWithLogger( + options, + console.log.bind(console) + ); } -async function runWithLogger(options: { - inputFilePath: string | undefined, - outputFilePath: string | null, - optimizeSpeed: boolean -}, log: (message?: any, ...optionalParams: any[]) => void) { +async function runWithLogger( + options: { + inputFilePath: string | undefined, + outputFilePath: string | null, + optimizeSpeed: boolean + }, + log: (message?: any, ...optionalParams: any[]) => void +) { const dirname = process.cwd(); let jsSource: string = ''; let elmFilePath = undefined;