Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #69 from donaldh/eager-for

Use eager for loop to resolve recursing into .work directory.
  • Loading branch information...
commit d6f8a3ac23be935140003cdad828351f043761a5 2 parents 934a4f3 + b89cd24
@tadzik authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Panda/Fetcher.pm
View
2  lib/Panda/Fetcher.pm
@@ -24,7 +24,7 @@ sub git-fetch($from, $to) {
}
sub local-fetch($from, $to) {
- for find(dir => $from).list {
+ for eager find(dir => $from).list {
# We need to cleanup the path, because the returned elems are too.
my $d = $_.directory.substr($from.IO.path.cleanup.chars);
next if $d ~~ /^ '/'? '.git'/; # skip VCS files
Please sign in to comment.
Something went wrong with that request. Please try again.