()
| 27 | |
| 28 | // Function to create initial structure if file does not exist |
| 29 | function initializeDataFile() { |
| 30 | if (!fs.existsSync(dataFilePath)) { |
| 31 | writeDataToFile({}); |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | // Initialize data file if not present |
| 36 | initializeDataFile(); |
no test coverage detected