@@ -31,7 +31,7 @@ if (cluster.isMaster) {
31
31
// scanner but is ignored by atoi(3). Heinous hack.
32
32
cluster . setupMaster ( { execArgv : [ `--debug=${ common . PORT } .` ] } ) ;
33
33
const worker = cluster . fork ( ) ;
34
- worker . on ( 'message' , common . mustCall ( message => {
34
+ worker . on ( 'message' , common . mustCall ( ( message ) => {
35
35
assert . strictEqual ( Array . isArray ( message ) , true ) ;
36
36
assert . strictEqual ( message [ 0 ] , 'listening' ) ;
37
37
let continueRecv = false ;
@@ -40,9 +40,9 @@ if (cluster.isMaster) {
40
40
const debugClient = net . connect ( { host, port : common . PORT } ) ;
41
41
const protocol = new Protocol ( ) ;
42
42
debugClient . setEncoding ( 'utf8' ) ;
43
- debugClient . on ( 'data' , data => protocol . execute ( data ) ) ;
43
+ debugClient . on ( 'data' , ( data ) => protocol . execute ( data ) ) ;
44
44
debugClient . once ( 'connect' , common . mustCall ( ( ) => {
45
- protocol . onResponse = common . mustCall ( res => {
45
+ protocol . onResponse = common . mustCall ( ( res ) => {
46
46
protocol . onResponse = ( res ) => {
47
47
// It can happen that the first continue was sent before the break
48
48
// event was received. If that's the case, send also a continue from
@@ -85,7 +85,7 @@ if (cluster.isMaster) {
85
85
throw ex ;
86
86
} ) ;
87
87
} else {
88
- const server = net . createServer ( socket => socket . pipe ( socket ) ) ;
88
+ const server = net . createServer ( ( socket ) => socket . pipe ( socket ) ) ;
89
89
const cb = ( ) => {
90
90
process . send ( [ 'listening' , server . address ( ) ] ) ;
91
91
debugger ;
0 commit comments