From cde4dbb35132848ffece59ef9cfaccff32347124 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 14 Jul 2020 15:24:17 -0400 Subject: Use dprint for internal formatting (#6682) --- cli/js/error_stack.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cli/js/error_stack.ts') diff --git a/cli/js/error_stack.ts b/cli/js/error_stack.ts index 4c46675ca..97ce00f3a 100644 --- a/cli/js/error_stack.ts +++ b/cli/js/error_stack.ts @@ -149,7 +149,7 @@ function callSiteToString(callSite: CallSite, internal = false): string { } if (isPromiseAll) { result += colors.bold( - colors.italic(black(`Promise.all (index ${callSite.getPromiseIndex()})`)) + colors.italic(black(`Promise.all (index ${callSite.getPromiseIndex()})`)), ); return result; } @@ -218,7 +218,7 @@ function prepareStackTrace( __callSiteEvals: CallSiteEval[]; __formattedFrames: string[]; }, - callSites: CallSite[] + callSites: CallSite[], ): string { const mappedCallSites = callSites.map( (callSite): CallSite => { @@ -232,11 +232,11 @@ function prepareStackTrace( fileName, lineNumber, columnNumber, - }) + }), ); } return callSite; - } + }, ); Object.defineProperties(error, { __callSiteEvals: { value: [], configurable: true }, -- cgit v1.2.3