From 78f15c8870de464fce15c8b108473506d7d80a95 Mon Sep 17 00:00:00 2001 From: sis0k0 Date: Fri, 10 Nov 2017 17:03:09 +0200 Subject: [PATCH] refactor: use unlinkSync instead of unlink --- projectFilesManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }