Skip to content

Commit

Permalink
fixup: errors linting
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Jun 28, 2021
1 parent 0d9936d commit d41671c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/internal/errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,8 @@ function hideLeadingInternalFrames(error, stackFrames) {
stackFrames,
(frm) => !StringPrototypeStartsWith(frm.getFileName(),
'node:internal')
));
)
);
}
ArrayPrototypeUnshift(frames, error);
return ArrayPrototypeJoin(frames, '\n at ');
Expand Down

0 comments on commit d41671c

Please sign in to comment.