Skip to content

Instantly share code, notes, and snippets.

@Mouq
Created February 23, 2014 20:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mouq/cd9363ce6f20c699af77 to your computer and use it in GitHub Desktop.
Save Mouq/cd9363ce6f20c699af77 to your computer and use it in GitHub Desktop.
diff --git a/lib/Panda/Fetcher.pm b/lib/Panda/Fetcher.pm
index 68f4a14..0b69a10 100644
--- a/lib/Panda/Fetcher.pm
+++ b/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 {
my $d = IO::Spec.catpath($_.volume, $_.directory, '');
# We need to cleanup the path, because the returned elems are too.
my $cleanup = $from.IO.path.cleanup;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment