File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -278,7 +278,8 @@ export async function spawnCoanaDlx(
278278 )
279279 const output = await result . spawnPromise
280280 // Print output when running in e2e-tests workflow for debugging.
281- if ( CI && VITEST ) {
281+ // Respect the silent option from the caller.
282+ if ( CI && VITEST && ! dlxOptions . silent ) {
282283 if ( output . stdout ) {
283284 console . log ( output . stdout )
284285 }
@@ -291,7 +292,8 @@ export async function spawnCoanaDlx(
291292 const stdout = ( e as any ) ?. stdout
292293 const stderr = ( e as any ) ?. stderr
293294 // Print output when running in e2e-tests workflow for debugging.
294- if ( CI && VITEST ) {
295+ // Respect the silent option from the caller.
296+ if ( CI && VITEST && ! dlxOptions . silent ) {
295297 if ( stdout ) {
296298 console . log ( stdout )
297299 }
You can’t perform that action at this time.
0 commit comments