Skip to content

Commit

Permalink
Trying deltree suggested by @nxadm and xliff #5
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed Sep 4, 2019
1 parent 897d561 commit 35d60f5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/Pod/To/Cached.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,7 @@ method freeze( --> Bool ) {

method rm-cache() {
if $*SPEC ~~ IO::Spec::Win32 {
shell "dir";
shell 'echo %cd%';
shell "tree /f";
shell "rmdir /S /Q \"" ~ "$*CWD/$!path".trans( ["/"] => ["\\"] ) ~ "\"";
shell "deltree \"" ~ "$*CWD/$!path".trans( ["/"] => ["\\"] ) ~ "\"";
} else {
shell "rm -rf $!path";
}
Expand Down

0 comments on commit 35d60f5

Please sign in to comment.