mirror of
https://github.com/actions/toolkit
synced 2025-05-08 16:17:40 +00:00

* Add getExecOutput function * Add tests for exec output * Modify tests to not rely on buffer size, but only test larger output * Handle split multi-byte characters + PR feedback * Fix tests * Lint * Update how split byte are sent for tests
3 lines
164 B
JavaScript
3 lines
164 B
JavaScript
//Default highWaterMark for readable stream buffers us 64K (2^16)
|
|
//so we go over that to get more than a buffer's worth
|
|
process.stdout.write('a\n'.repeat(2**24));
|