Skip to content

Commit 186ec6b

Browse files
committed
Log stdio for pull-turbo-cache script (#66759)
Gives us more context when this fails as it is here https://github.com/vercel/next.js/actions/runs/9469195858/job/26087290365#step:15:23
1 parent 45656d3 commit 186ec6b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/pull-turbo-cache.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@ const { spawn } = require('child_process')
1717
}
1818
)
1919

20+
child.stderr.on('data', (data) => {
21+
process.stderr.write(data)
22+
})
23+
2024
child.stdout.on('data', (data) => {
25+
process.stdout.write(data)
2126
turboResult += data.toString()
2227
})
2328

0 commit comments

Comments
 (0)