Skip to content

Commit f53740a

Browse files
authored
Merge pull request #23 from Flow-Launcher/fix_folder_delete
Folder plugin- Recursive delete sub folders and files
2 parents b44c9b6 + d63ae15 commit f53740a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plugins/Flow.Launcher.Plugin.Folder/ContextMenuLoader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public List<Result> LoadContextMenus(Result selectedResult)
8989
if (record.Type == ResultType.File)
9090
File.Delete(record.FullPath);
9191
else
92-
Directory.Delete(record.FullPath);
92+
Directory.Delete(record.FullPath, true);
9393
}
9494
catch(Exception e)
9595
{

0 commit comments

Comments
 (0)