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
This commit is contained in:
JJ Kasper 2024-06-11 10:30:56 -07:00 committed by GitHub
parent 801e891c7e
commit 46d3066c98
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,7 +17,12 @@ const { spawn } = require('child_process')
}
)
child.stderr.on('data', (data) => {
process.stderr.write(data)
})
child.stdout.on('data', (data) => {
process.stdout.write(data)
turboResult += data.toString()
})