Created
August 28, 2015 19:09
-
-
Save anonymous/46655b37a8f21834b737 to your computer and use it in GitHub Desktop.
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
diff --git a/lib/Panda/Ecosystem.pm b/lib/Panda/Ecosystem.pm | |
index 886eae2..ef290c8 100644 | |
--- a/lib/Panda/Ecosystem.pm | |
+++ b/lib/Panda/Ecosystem.pm | |
@@ -61,7 +61,7 @@ class Panda::Ecosystem { | |
my $p = Panda::Project.new( | |
name => $mod<name>, | |
version => $mod<version>, | |
- dependencies => [($mod<depends> (|) $mod<test-depends> (|) $mod<build-depends>).list.flat], | |
+ dependencies => [($mod<depends>//Empty (|) $mod<test-depends>//Empty (|) $mod<build-depends>//Empty).list.flat], | |
metainfo => $mod, | |
); | |
self.add-project($p); | |
@@ -71,7 +71,7 @@ class Panda::Ecosystem { | |
my $p = Panda::Project.new( | |
name => $name, | |
version => $mod<version>, | |
- dependencies => [($mod<depends> (|) $mod<test-depends> (|) $mod<build-depends>).list.flat], | |
+ dependencies => [($mod<depends>//Empty (|) $mod<test-depends>//Empty (|) $mod<build-depends>//Empty).list.flat], | |
metainfo => $mod, | |
); | |
self.add-project($p); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment