Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup: errors linting
  • Loading branch information
guybedford committed Jul 12, 2021
commit 8fbf23bfe27a52ada56da44c4cbfb8758f0d0fd7
3 changes: 2 additions & 1 deletion lib/internal/errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,8 @@ function hideLeadingInternalFrames(error, stackFrames) {
stackFrames,
(frm) => !StringPrototypeStartsWith(frm.getFileName(),
'node:internal')
));
)
);
}
ArrayPrototypeUnshift(frames, error);
return ArrayPrototypeJoin(frames, '\n at ');
Expand Down