(command, args)
| 665 | } |
| 666 | |
| 667 | async function execText(command, args) { |
| 668 | const { stdout } = await execFileAsync(command, args, { |
| 669 | maxBuffer: 16 * 1024 * 1024, |
| 670 | timeout: 120000, |
| 671 | }); |
| 672 | return stdout; |
| 673 | } |
| 674 | |
| 675 | async function writeJsonFile(file, value, mode) { |
| 676 | await fs.promises.mkdir(path.dirname(file), { recursive: true, mode: 0o700 }); |
no outgoing calls
no test coverage detected