GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — lib: remove unused filterInternalStackFrames param · nodejs/node@8f7e373

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • lib
    • repl.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎lib/repl.js‎

Copy file name to clipboardExpand all lines: lib/repl.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ function REPLServer(prompt,
494494
self.writer.options = Object.assign({}, writer.options, { colors: true });
495495
}
496496

497-
function filterInternalStackFrames(error, structuredStack) {
497+
function filterInternalStackFrames(structuredStack) {
498498
// Search from the bottom of the call stack to
499499
// find the first frame with a null function name
500500
if (typeof structuredStack !== 'object')
@@ -509,7 +509,7 @@ function REPLServer(prompt,
509509

510510
function prepareStackTrace(fn) {
511511
return (error, stackFrames) => {
512-
const frames = filterInternalStackFrames(error, stackFrames);
512+
const frames = filterInternalStackFrames(stackFrames);
513513
if (fn) {
514514
return fn(error, frames);
515515
}

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.