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

Commit

Permalink
fix: add newline after context
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Feb 1, 2018
1 parent 217ee5d commit 0c89185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export function getErrorMessage(err: any, opts: {stack?: boolean} = {}): string
let stack = err.stack || inspect(err)
stack = clean(stack, {pretty: true})
stack = extract(stack)
message = [message, stack].join('\n')
message = [message, '', stack].join('\n')
} else {
let bang = severity === 'warn' ? chalk.yellow(arrow) : chalk.red(arrow)
if (severity === 'warn') bang = chalk.yellow(arrow)
Expand Down

0 comments on commit 0c89185

Please sign in to comment.