Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
create tempdir so we do not rely on git doing it
Seems like git on windows does not want to do it, so we do instead.
  • Loading branch information
FROGGS committed Sep 26, 2014
1 parent 2a0f08f commit 51fc726
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Panda.pm
Expand Up @@ -134,6 +134,7 @@ class Panda {
method resolve($proj as Str is copy, Bool :$nodeps, Bool :$notests) {
my $tmpdir = tmpdir();
LEAVE { rm_rf $tmpdir if $tmpdir.IO.e }
mkpath $tmpdir;
my $p = self.project-from-local($proj);
$p ||= self.project-from-git($proj, $tmpdir);
if $p {
Expand Down

0 comments on commit 51fc726

Please sign in to comment.