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,
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      } 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments