Skip to content

Commit 977a3c5

Browse files
committed
fix: log formatting
1 parent 8a5bab0 commit 977a3c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/logger/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ function printError (err: Error, indent = ''): string {
117117
if (err.errors.length > 0) {
118118
indent = `${indent} `
119119

120-
output += `${
120+
output += `\n${indent}${
121121
err.errors
122-
.map(err => `\n${indent}${printError(err, `${indent}`)}`)
122+
.map(err => `${printError(err, `${indent}`)}`)
123123
.join(`\n${indent}`)
124124
}`
125125
} else {

0 commit comments

Comments
 (0)