(file: string, source: string)
| 44 | }); |
| 45 | |
| 46 | const write = (file: string, source: string) => { |
| 47 | const target = path.join(dir, file); |
| 48 | fs.mkdirSync(path.dirname(target), { recursive: true }); |
| 49 | fs.writeFileSync(target, source); |
| 50 | }; |
| 51 | |
| 52 | const controllerPath = 'app/Http/Controllers/Backend/SettleController.php'; |
| 53 | const servicePath = 'app/Services/SettleService.php'; |
no test coverage detected