Skip to content

Commit

Permalink
removed extra whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
niemyjski committed Oct 4, 2023
1 parent ceb09fa commit 048d09e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export function getStackFrame(frame: StackFrameInfo) {
}
}

return `${result}\r\n`;
return result;
}

function getStackTraceHeader<T extends SimpleErrorInfo | ErrorInfo>(errors: T[]) {
Expand Down Expand Up @@ -197,7 +197,7 @@ export function getErrorInfoStackTrace(error: ErrorInfo) {
const stackTrace = error.stack_trace;
if (stackTrace) {
stackTrace.forEach((trace) => {
frames += getStackFrame(trace);
frames += `${getStackFrame(trace)}\r\n`;
});

if (index < errors.length - 1) {
Expand Down

0 comments on commit 048d09e

Please sign in to comment.