(text, lines = 12)
| 291 | } |
| 292 | |
| 293 | const tail = (text, lines = 12) => |
| 294 | text.trim().split('\n').slice(-lines).map((line) => line.trimEnd()); |
| 295 | |
| 296 | async function git(args) { |
| 297 | const { stdout } = await execFileAsync('git', args, { cwd: ROOT, maxBuffer: 32 * 1024 * 1024 }); |