( root: string, relativePath: string, lines: readonly string[], )
| 1381 | }); |
| 1382 | |
| 1383 | async function writeSkill( |
| 1384 | root: string, |
| 1385 | relativePath: string, |
| 1386 | lines: readonly string[], |
| 1387 | ): Promise<void> { |
| 1388 | const target = path.join(root, relativePath); |
| 1389 | await mkdir(path.dirname(target), { recursive: true }); |
| 1390 | await writeFile(target, lines.join('\n')); |
| 1391 | } |
no test coverage detected