(filepath, content)
| 94 | } |
| 95 | |
| 96 | async function writeIfNeeded(filepath, content) { |
| 97 | const oldContent = await fs.promises.readFile(filepath, 'utf8') |
| 98 | if (oldContent !== content) { |
| 99 | await fs.promises.writeFile(filepath, content) |
| 100 | } |
| 101 | return oldContent !== content |
| 102 | } |
| 103 | |
| 104 | async function updateDataDb() { |
| 105 | let latestPrismaApp |
no outgoing calls
no test coverage detected