Use dprint for internal formatting (#6682)

This commit is contained in:
David Sherret 2020-07-14 15:24:17 -04:00 committed by GitHub
parent 9eca71caa1
commit cde4dbb351
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
378 changed files with 3116 additions and 3121 deletions

View file

@ -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 },