Skip to content

Commit

Permalink
Merge branch 'fix/factory-reset-windows' into release-debug
Browse files Browse the repository at this point in the history
  • Loading branch information
matthme committed Jul 9, 2024
2 parents 6449a26 + 2467c1b commit 6e613ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/filesystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export function deleteRecursively(root: string) {
if (fs.statSync(root).isDirectory()) {
console.log('Removing files and subfolders.');
const filesAndSubFolders = fs.readdirSync(root);
filesAndSubFolders.forEach((file) => deleteRecursively(file));
filesAndSubFolders.forEach((file) => deleteRecursively(path.join(root, file)));
} else {
console.log('fs.statSync(root): ', fs.statSync(root));
}
Expand Down

0 comments on commit 6e613ec

Please sign in to comment.