mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-01 01:53:18 +08:00
Add test for large stdline output (#827)
* Add test for large stdline output * Format/Lint * Update stdlineoutput.js * Update stdlineoutput.js
This commit is contained in:
5
packages/exec/__tests__/scripts/stdlineoutput.js
Normal file
5
packages/exec/__tests__/scripts/stdlineoutput.js
Normal file
@@ -0,0 +1,5 @@
|
||||
//Default highWaterMark for readable stream buffers us 64K (2^16)
|
||||
//so we go over that to get more than a buffer's worth
|
||||
const os = require('os')
|
||||
|
||||
process.stdout.write('a'.repeat(2**16 + 1) + os.EOL);
|
||||
Reference in New Issue
Block a user