From 31177fd1fd71500e6a30edee60a122f78e5e7424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E9=9B=85=20=C2=B7=20Misaki=20Masa?= Date: Sat, 8 Mar 2025 13:52:29 +0800 Subject: [PATCH] fix: remove the temporary extraction directory forcefully (#2458) --- yazi-plugin/preset/plugins/extract.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yazi-plugin/preset/plugins/extract.lua b/yazi-plugin/preset/plugins/extract.lua index e10a937c..5775034d 100644 --- a/yazi-plugin/preset/plugins/extract.lua +++ b/yazi-plugin/preset/plugins/extract.lua @@ -57,7 +57,7 @@ function M:try_with(from, pwd, to) local output, err = child:wait_with_output() if output and output.status.code == 2 and archive.is_encrypted(output.stderr) then - fs.remove("dir_clean", tmp) + fs.remove("dir_all", tmp) return true -- Need to retry end