@@ -55,7 +55,7 @@ t.test('pkg has server.js, start not specified', async t => {
55
55
} ,
56
56
} )
57
57
t . strictSame ( res , [ 'sh' , [ '-c' , 'node server.js' ] , {
58
- stdioString : false ,
58
+ stdioString : undefined ,
59
59
event : 'start' ,
60
60
path,
61
61
scriptShell : 'sh' ,
@@ -92,7 +92,7 @@ t.test('pkg has server.js, start not specified, with args', async t => {
92
92
} ,
93
93
} )
94
94
t . strictSame ( res , [ 'sh' , [ '-c' , 'node server.js' ] , {
95
- stdioString : false ,
95
+ stdioString : undefined ,
96
96
event : 'start' ,
97
97
path,
98
98
scriptShell : 'sh' ,
@@ -130,7 +130,7 @@ t.test('pkg has no foo script, but custom cmd provided', t => runScriptPkg({
130
130
scripts : { } ,
131
131
} ,
132
132
} ) . then ( res => t . strictSame ( res , [ 'sh' , [ '-c' , 'bar' ] , {
133
- stdioString : false ,
133
+ stdioString : undefined ,
134
134
event : 'foo' ,
135
135
path : 'path' ,
136
136
scriptShell : 'sh' ,
@@ -167,7 +167,7 @@ t.test('do the banner when stdio is inherited, handle line breaks', t => {
167
167
scripts : { } ,
168
168
} ,
169
169
} ) . then ( res => t . strictSame ( res , [ 'sh' , [ '-c' , 'bar\nbaz\n' ] , {
170
- stdioString : false ,
170
+ stdioString : undefined ,
171
171
event : 'foo' ,
172
172
path : 'path' ,
173
173
scriptShell : 'sh' ,
@@ -206,7 +206,7 @@ t.test('do not show banner when stdio is inherited, if suppressed', t => {
206
206
} ,
207
207
banner : false ,
208
208
} ) . then ( res => t . strictSame ( res , [ 'sh' , [ '-c' , 'bar' ] , {
209
- stdioString : false ,
209
+ stdioString : undefined ,
210
210
event : 'foo' ,
211
211
path : 'path' ,
212
212
scriptShell : 'sh' ,
@@ -244,7 +244,7 @@ t.test('do the banner with no pkgid', t => {
244
244
scripts : { } ,
245
245
} ,
246
246
} ) . then ( res => t . strictSame ( res , [ 'sh' , [ '-c' , 'bar' ] , {
247
- stdioString : false ,
247
+ stdioString : undefined ,
248
248
event : 'foo' ,
249
249
path : 'path' ,
250
250
scriptShell : 'sh' ,
@@ -278,7 +278,7 @@ t.test('pkg has foo script', t => runScriptPkg({
278
278
} ,
279
279
} ,
280
280
} ) . then ( res => t . strictSame ( res , [ 'sh' , [ '-c' , 'bar' ] , {
281
- stdioString : false ,
281
+ stdioString : undefined ,
282
282
event : 'foo' ,
283
283
path : 'path' ,
284
284
scriptShell : 'sh' ,
@@ -313,7 +313,7 @@ t.test('pkg has foo script, with args', t => runScriptPkg({
313
313
args : [ 'a' , 'b' , 'c' ] ,
314
314
binPaths : false ,
315
315
} ) . then ( res => t . strictSame ( res , [ 'sh' , [ '-c' , 'bar' ] , {
316
- stdioString : false ,
316
+ stdioString : undefined ,
317
317
event : 'foo' ,
318
318
path : 'path' ,
319
319
scriptShell : 'sh' ,
@@ -361,7 +361,7 @@ t.test('pkg has no install or preinstall script, but node-gyp files are present'
361
361
env : { environ : 'value' } ,
362
362
stdio : 'pipe' ,
363
363
cmd : 'node-gyp rebuild' ,
364
- stdioString : false ,
364
+ stdioString : undefined ,
365
365
} ,
366
366
{
367
367
event : 'install' ,
@@ -422,7 +422,7 @@ t.test('end stdin if present', async t => {
422
422
env : { } ,
423
423
stdio : 'pipe' ,
424
424
cmd : 'cat' ,
425
- stdioString : false ,
425
+ stdioString : undefined ,
426
426
} , {
427
427
event : 'cat' ,
428
428
script : 'cat' ,
0 commit comments