forked from tadzik/panda
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix deps listing in GLR
- Loading branch information
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
laben
Author
Owner
|
||
| 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; | ||
| } | ||
|
|
||
This is not needed, since you flatten the results anyway in line 177. Works without.