Commit ac330c3
John Reeves
fix: use removeSync instead of unlinkSync for removing directories
Old version was a bug because frequently (always?) the directory was not empty.
Also no need to check if it exists, removeSync silently returns on non-existent folders.1 parent d221f93 commit ac330c3
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
231 | | - | |
232 | | - | |
| 230 | + | |
233 | 231 | | |
234 | 232 | | |
235 | 233 | | |
| |||
0 commit comments