(filePath, content)
| 18 | } = require('../core/map'); |
| 19 | |
| 20 | function writeFile(filePath, content) { |
| 21 | fs.mkdirSync(path.dirname(filePath), { recursive: true }); |
| 22 | fs.writeFileSync(filePath, content, 'utf8'); |
| 23 | } |
| 24 | |
| 25 | function runCli(rootDir, args) { |
| 26 | return childProcess.execFileSync(process.execPath, [ |