File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ function closePendingHandle(target) {
352
352
}
353
353
354
354
355
- ChildProcess . prototype . spawn = function ( options ) {
355
+ ChildProcess . prototype . spawn = function spawn ( options ) {
356
356
let i = 0 ;
357
357
358
358
validateObject ( options , 'options' ) ;
@@ -490,7 +490,7 @@ function onSpawnNT(self) {
490
490
}
491
491
492
492
493
- ChildProcess . prototype . kill = function ( sig ) {
493
+ ChildProcess . prototype . kill = function kill ( sig ) {
494
494
495
495
const signal = sig === 0 ? sig :
496
496
convertToValidSignal ( sig === undefined ? 'SIGTERM' : sig ) ;
@@ -524,12 +524,12 @@ ChildProcess.prototype[SymbolDispose] = function() {
524
524
} ;
525
525
526
526
527
- ChildProcess . prototype . ref = function ( ) {
527
+ ChildProcess . prototype . ref = function ref ( ) {
528
528
if ( this . _handle ) this . _handle . ref ( ) ;
529
529
} ;
530
530
531
531
532
- ChildProcess . prototype . unref = function ( ) {
532
+ ChildProcess . prototype . unref = function unref ( ) {
533
533
if ( this . _handle ) this . _handle . unref ( ) ;
534
534
} ;
535
535
You can’t perform that action at this time.
0 commit comments