mirror of
https://github.com/tw93/Mole.git
synced 2026-02-08 19:04:20 +00:00
fix: handle dotfiles in Trash cleanup (#395)
Replace glob pattern with find command to properly clean dotfiles in Trash when osascript fallback is used. The old pattern ~/.Trash/* does not match files starting with "." in bash. This fix ensures that hidden files like .DS_Store, .hidden_file, etc. are properly removed when cleaning the Trash.
This commit is contained in:
@@ -150,4 +150,3 @@ func TestLargeFileHeap(t *testing.T) {
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user