(filePath, content)
| 13 | } = require('./pr-ready'); |
| 14 | |
| 15 | function write(filePath, content) { |
| 16 | fs.mkdirSync(path.dirname(filePath), { recursive: true }); |
| 17 | fs.writeFileSync(filePath, content, 'utf8'); |
| 18 | } |
| 19 | |
| 20 | function withTempProject(run) { |
| 21 | const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'citadel-pr-ready-')); |