mirror of https://github.com/actions/toolkit
Fix flakey test (#817)
parent
ddd04b6997
commit
9ac66375a0
|
@ -1,5 +1,8 @@
|
|||
//first half of © character
|
||||
process.stdout.write(Buffer.from([0xC2]), (err) => {
|
||||
//write in the callback so that the second byte is sent separately
|
||||
setTimeout(() => {
|
||||
process.stdout.write(Buffer.from([0xA9])) //second half of © character
|
||||
}, 5000)
|
||||
|
||||
})
|
||||
|
|
|
@ -82,7 +82,6 @@ export async function getExecOutput(
|
|||
stdout += stdoutDecoder.end()
|
||||
stderr += stderrDecoder.end()
|
||||
|
||||
//return undefined for stdout/stderr if they are empty
|
||||
return {
|
||||
exitCode,
|
||||
stdout,
|
||||
|
|
Loading…
Reference in New Issue