Skip to content

Commit 35d60f5

Browse files
committed
Trying deltree suggested by @nxadm and xliff #5
1 parent 897d561 commit 35d60f5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

‎lib/Pod/To/Cached.pm6‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,10 +263,7 @@ method freeze( --> Bool ){
263263

264264
methodrm-cache(){
265265
if$*SPEC~~IO::Spec::Win32{
266-
shell"dir";
267-
shell'echo %cd%';
268-
shell"tree /f";
269-
shell"rmdir /S /Q \""~"$*CWD/$!path".trans( ["/"] => ["\\"] ) ~"\"";
266+
shell"deltree \""~"$*CWD/$!path".trans( ["/"] => ["\\"] ) ~"\"";
270267
} else{
271268
shell"rm -rf $!path";
272269
}

0 commit comments

Comments
(0)