mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-11-18 18:01:07 +08:00
Fix flakey test (#817)
This commit is contained in:
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
|
||||
process.stdout.write(Buffer.from([0xA9])) //second half of © character
|
||||
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…
x
Reference in New Issue
Block a user