Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit 13a78dd

Browse files
sis0k0Vasil Chimev
authored and
Vasil Chimev
committed
refactor: use unlinkSync instead of unlink (#319)
1 parent df12dfc commit 13a78dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: projectFilesManager.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function forceUpdateProjectFiles(projectDir, appDir) {
6767
function deleteFile(destinationPath) {
6868
if (fs.existsSync(destinationPath)) {
6969
console.info(`Deleting file: ${destinationPath}`);
70-
fs.unlink(destinationPath);
70+
fs.unlinkSync(destinationPath);
7171
}
7272
}
7373

0 commit comments

Comments
 (0)