(dir: string)
| 34 | } |
| 35 | |
| 36 | function writeConfig(dir: string): string { |
| 37 | const configPath = path.join(dir, 'cd4a.config.json'); |
| 38 | fs.writeFileSync(configPath, '{}'); |
| 39 | return configPath; |
| 40 | } |
| 41 | |
| 42 | /** |
| 43 | * Resolves once fs events for `dir` are delivered. |