(filepath,content)
| 114 | |
| 115 | // Helper function to save a file |
| 116 | function saveFile(filepath,content) { |
| 117 | var fs = require("fs"); |
| 118 | fs.writeFileSync(filepath,content); |
| 119 | } |
| 120 | |
| 121 | // Helper function to backup a file by copying it to the backup folder |
| 122 | function backupFile(filepath) { |