(file, line)
| 270 | async function answersTo(dir, questions) { |
| 271 | const cg = CodeGraph.openSync(dir); |
| 272 | const firstLine = (file, line) => { |
| 273 | try { |
| 274 | return (readFileSync(join(dir, file), 'utf8').split('\n')[line - 1] ?? '').trim(); |
| 275 | } catch { |
| 276 | return ''; |
| 277 | } |
| 278 | }; |
| 279 | const answers = {}; |
| 280 | try { |
| 281 | for (const [kind, question] of Object.entries(questions)) { |