(...args)
| 21 | const MB = (2 ** 10) ** 2; |
| 22 | |
| 23 | const log = (...args) => { |
| 24 | const payload = |
| 25 | args |
| 26 | .map(item => |
| 27 | typeof item === 'string' ? item : inspect(item, { depth: Infinity, breakLength: Infinity }) |
| 28 | ) |
| 29 | .join(', ') + '\n'; |
| 30 | process.stdout.write('(subprocess): ' + payload); |
| 31 | }; |
| 32 | |
| 33 | async function main() { |
| 34 | log('starting execution'); |