Skip to content

Instantly share code, notes, and snippets.

@Mouq

Mouq/panda.diff Secret

Last active August 29, 2015 13:56
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/fbb86c2a79812a86f7c6 to your computer and use it in GitHub Desktop.
Save Mouq/fbb86c2a79812a86f7c6 to your computer and use it in GitHub Desktop.
diff --git a/lib/Panda/Fetcher.pm b/lib/Panda/Fetcher.pm
index 68f4a14..95942e1 100644
--- a/lib/Panda/Fetcher.pm
+++ b/lib/Panda/Fetcher.pm
@@ -32,7 +32,7 @@ sub local-fetch($from, $to) {
$d = $d.substr($cleanup.chars)
}
- next if $d ~~ /^ '/'? '.git'/; # skip VCS files
+ next if $d ~~ /^ '/'? ['.git'|'.work']/; # skip VCS files
my $where = "$to/$d";
mkpath $where;
next if $_.IO ~~ :d;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment