()
| 98 | output.splice(0, Math.max(0, output.length - 40)); |
| 99 | }; |
| 100 | const formatOutput = () => |
| 101 | output.length === 0 |
| 102 | ? 'No server output was captured.' |
| 103 | : output.join('').trim(); |
| 104 | const child = child_process.spawn(command, { |
| 105 | shell: true, |
| 106 | cwd, |