Skip to content

Commit

Permalink
Linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
novemberborn committed Jan 18, 2019
1 parent f0a07cd commit ed7807e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/serialize-error.js
Expand Up @@ -113,6 +113,7 @@ function trySerializeError(err, shouldBeautifyStack) {
if (lines[index].startsWith(' at')) {
break;
}

const next = index + 1;
const end = next === lines.length || lines[next].startsWith(' at');
retval.summary += end ? lines[index] : lines[index] + '\n';
Expand Down

0 comments on commit ed7807e

Please sign in to comment.