Skip to content

Commit c1f959c

Browse files
committed
fix conditional breakage due to require return value change - this should reenable colour syntax and fix current website issues
1 parent e193c1b commit c1f959c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Pod/Htmlify.pm6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ class Website is export {
189189
method p2h($pod) {
190190
my $vim-colour = $.syntax-highlighting && try {
191191
require Text::VimColour;
192-
};
192+
}.^name eq 'Text::VimColour';
193193

194194
my $head = slurp 'template/head.html';
195195
my $footer = footer-html;

0 commit comments

Comments
 (0)