Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix deps listing in GLR
  • Loading branch information
laben committed Aug 20, 2015
1 parent f578a30 commit d97fcd5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/Panda.pm
Expand Up @@ -170,11 +170,12 @@ class Panda {
}).grep({
$.ecosystem.project-get-state($_) == Panda::Project::State::absent
});
return () unless +@bonedeps;
sub slip() {()} ### Workaround for non-existing sub in *nom*
return slip() unless +@bonedeps;

This comment has been minimized.

Copy link
@niner

niner Aug 25, 2015

This is not needed, since you flatten the results anyway in line 177. Works without.

This comment has been minimized.

Copy link
@laben

laben Aug 25, 2015

Author Owner

Will be removed as soon as glr becomes master or gets merged into master.

self.announce('depends', $bone => @bonedeps».name);
my @deps;
for @bonedeps -> $p {
@deps.push: self.get-deps($p), $p;
@deps.push: flat self.get-deps($p), $p;
}
return @deps;
}
Expand Down

0 comments on commit d97fcd5

Please sign in to comment.