diff --git a/projectFilesManager.js b/projectFilesManager.js index f11e31b9..2d4aa17a 100644 --- a/projectFilesManager.js +++ b/projectFilesManager.js @@ -67,7 +67,7 @@ function forceUpdateProjectFiles(projectDir, appDir) { function deleteFile(destinationPath) { if (fs.existsSync(destinationPath)) { console.info(`Deleting file: ${destinationPath}`); - fs.unlink(destinationPath); + fs.unlinkSync(destinationPath); } }