Skip to content
This repository was archived by the owner on Feb 1, 2022. It is now read-only.

Commit 0c89185

Browse files
committed
fix: add newline after context
1 parent 217ee5d commit 0c89185

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/errors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export function getErrorMessage(err: any, opts: {stack?: boolean} = {}): string
7676
let stack = err.stack || inspect(err)
7777
stack = clean(stack, {pretty: true})
7878
stack = extract(stack)
79-
message = [message, stack].join('\n')
79+
message = [message, '', stack].join('\n')
8080
} else {
8181
let bang = severity === 'warn' ? chalk.yellow(arrow) : chalk.red(arrow)
8282
if (severity === 'warn') bang = chalk.yellow(arrow)

0 commit comments

Comments
 (0)