1
0
Fork 0
mirror of https://github.com/actions/toolkit synced 2025-05-08 16:17:40 +00:00
toolkit/packages/exec/__tests__/scripts/wait-for-input.js
Seth Vargo c4b6011310
Allow specifying stdin (#360)
* Allow specifying stdin
2020-04-13 13:39:42 -04:00

3 lines
89 B
JavaScript
Executable file

var fs = require('fs')
var data = fs.readFileSync(0, 'utf-8')
process.stdout.write(data)