File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -988,9 +988,9 @@ Socket.prototype.connect = function() {
988988  if  ( pipe )  { 
989989    if  ( typeof  path  !==  'string' )  { 
990990      throw  new  errors . TypeError ( 'ERR_INVALID_ARG_TYPE' , 
991-         'options.path' , 
992-         'string' , 
993-         path ) ; 
991+                                   'options.path' , 
992+                                   'string' , 
993+                                   path ) ; 
994994    } 
995995    internalConnect ( this ,  path ) ; 
996996  }  else  { 
Original file line number Diff line number Diff line change @@ -1069,7 +1069,9 @@ REPLServer.prototype.defineCommand = function(keyword, cmd) {
10691069    cmd  =  {  action : cmd  } ; 
10701070  }  else  if  ( typeof  cmd . action  !==  'function' )  { 
10711071    throw  new  errors . TypeError ( 'ERR_INVALID_ARG_TYPE' , 
1072-       'action' ,  'function' ,  cmd . action ) ; 
1072+                                'action' , 
1073+                                'function' , 
1074+                                cmd . action ) ; 
10731075  } 
10741076  this . commands [ keyword ]  =  cmd ; 
10751077} ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments