Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[web/mkjson.p6] reads README only if it exists

  • Loading branch information...
commit 35ec4f2352837ff6b48a8c0ab81ac122b5577a0b 1 parent e675c28
@sergot authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  web/mkjson.p6
View
2  web/mkjson.p6
@@ -54,7 +54,7 @@ class Project {
my $readme_file = readme_file($!path);
$!readme = $readme_file ?? $!URL~"/blob/master/"~$readme_file !! False;
- $!readme_content = slurp "$!path/$readme_file";
+ $!readme_content = slurp "$!path/$readme_file" if $readme;
}
sub readme_file(Str $path) {
Please sign in to comment.
Something went wrong with that request. Please try again.