(homeDir: string, entry: any)
| 22 | } |
| 23 | } |
| 24 | async function appendIndexLocal(homeDir: string, entry: any): Promise<void> { |
| 25 | await mkdir(homeDir, { recursive: true, mode: 0o700 }); |
| 26 | await appendFile(sessionIndexPathLocal(homeDir), `${JSON.stringify(entry)}\n`, 'utf-8'); |
| 27 | } |
| 28 | |
| 29 | const workDir = process.argv[2]!; |
| 30 | const homeDir = process.argv[3]!; |
no test coverage detected