(path, data)
| 36 | } |
| 37 | |
| 38 | async function ModifyData(path, data) { |
| 39 | if (!(await FileExist(path))) return; |
| 40 | await fs.promises.writeFile(path, data); |
| 41 | } |
| 42 | |
| 43 | async function CreateDirRecursive(path) { |
| 44 | await fs.mkdirSync(path, { recursive: true }); |