File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ const {
4040  ReflectApply, 
4141  SafeMap, 
4242  SafeWeakMap, 
43+   StringPrototypeRepeat, 
4344  Symbol, 
4445}  =  primordials ; 
4546
@@ -131,7 +132,7 @@ const domainRequireStack = new Error('require(`domain`) at this point').stack;
131132const  {  setUncaughtExceptionCaptureCallback }  =  process ; 
132133process . setUncaughtExceptionCaptureCallback  =  function ( fn )  { 
133134  const  err  =  new  ERR_DOMAIN_CANNOT_SET_UNCAUGHT_EXCEPTION_CAPTURE ( ) ; 
134-   err . stack  =   err . stack   +   '\n'   +   '-' . repeat ( 40 )   +   '\n'   +   domainRequireStack ; 
135+   err . stack  +=   `\n ${ StringPrototypeRepeat ( '-' ,   40 ) } \n ${ domainRequireStack } ` ; 
135136  throw  err ; 
136137} ; 
137138
Original file line number Diff line number Diff line change @@ -1526,15 +1526,15 @@ function complete(line, callback) {
15261526        let  p ; 
15271527        if  ( ( typeof  obj  ===  'object'  &&  obj  !==  null )  || 
15281528            typeof  obj  ===  'function' )  { 
1529-           memberGroups . push ( filteredOwnPropertyNames ( obj ) ) ; 
1529+           ArrayPrototypePush ( memberGroups ,   filteredOwnPropertyNames ( obj ) ) ; 
15301530          p  =  ObjectGetPrototypeOf ( obj ) ; 
15311531        }  else  { 
15321532          p  =  obj . constructor  ? obj . constructor . prototype  : null ; 
15331533        } 
15341534        // Circular refs possible? Let's guard against that. 
15351535        let  sentinel  =  5 ; 
15361536        while  ( p  !==  null  &&  sentinel --  !==  0 )  { 
1537-           memberGroups . push ( filteredOwnPropertyNames ( p ) ) ; 
1537+           ArrayPrototypePush ( memberGroups ,   filteredOwnPropertyNames ( p ) ) ; 
15381538          p  =  ObjectGetPrototypeOf ( p ) ; 
15391539        } 
15401540      }  catch  { 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments