(filePath, hint)
| 1120 | } |
| 1121 | |
| 1122 | function assertBinary(filePath, hint) { |
| 1123 | const result = spawnSync(filePath, ["--version"], { |
| 1124 | encoding: "utf8", |
| 1125 | timeout: 5000, |
| 1126 | }); |
| 1127 | if (result.error) { |
| 1128 | throw new Error(`${filePath} is not runnable. ${hint}`); |
| 1129 | } |
| 1130 | } |
| 1131 | |
| 1132 | function buildReport(metadata, rawRows) { |
| 1133 | const groups = new Map(); |