File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -494,7 +494,7 @@ function REPLServer(prompt,
494
494
self . writer . options = Object . assign ( { } , writer . options , { colors : true } ) ;
495
495
}
496
496
497
- function filterInternalStackFrames ( error , structuredStack ) {
497
+ function filterInternalStackFrames ( structuredStack ) {
498
498
// Search from the bottom of the call stack to
499
499
// find the first frame with a null function name
500
500
if ( typeof structuredStack !== 'object' )
@@ -509,7 +509,7 @@ function REPLServer(prompt,
509
509
510
510
function prepareStackTrace ( fn ) {
511
511
return ( error , stackFrames ) => {
512
- const frames = filterInternalStackFrames ( error , stackFrames ) ;
512
+ const frames = filterInternalStackFrames ( stackFrames ) ;
513
513
if ( fn ) {
514
514
return fn ( error , frames ) ;
515
515
}
You can’t perform that action at this time.
0 commit comments