Created
March 12, 2013 13:49
-
-
Save tadzik/5143006 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 5563284..c3e40c6 100644 | |
--- a/lib/Panda/Ecosystem.pm | |
+++ b/lib/Panda/Ecosystem.pm | |
@@ -58,6 +58,7 @@ class Panda::Ecosystem does Pies::Ecosystem { | |
} | |
} | |
+ note "#### CHECKING FOR projects.json ####"; | |
self.update if $!projectsfile.IO !~~ :f || $!projectsfile.IO ~~ :z; | |
my $list = from-json slurp $!projectsfile; | |
unless defined $list { | |
@@ -79,6 +80,7 @@ class Panda::Ecosystem does Pies::Ecosystem { | |
} | |
method update { | |
+ note "#### UPDATING projects.json ####"; | |
try unlink $!projectsfile; | |
getfile 'http://feather.perl6.nl:3000/projects.json', | |
$!projectsfile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment