first commit

This commit is contained in:
2024-11-05 12:22:50 +01:00
commit e5682a3912
19641 changed files with 2948548 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
const fs = require('fs');
module.exports = {
/**
* Delete File if exist
* @param pathToFile
* @return {Promise<void>}
*/
async deleteFile(pathToFile) {
if (fs.existsSync(pathToFile)) {
fs.unlinkSync(pathToFile);
}
},
};