Skip to content

Commit 42d1049

Browse files
committed
Future-proofing htmilify
Checking for either coffee-script (now, although it's been changed in package.json) or coffeescript (which is the way it's right now in package.json and will be in the near future). Refs #1823.
1 parent fdf84de commit 42d1049

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

htmlify.p6

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ sub recursive-dir($dir) {
165165
# in Rakudo you risk segfaults, weird errors, etc.
166166
my $proc;
167167
my $proc-supply;
168-
my $coffee-exe = './highlights/node_modules/coffee-script/bin/coffee';
168+
my $coffee-exe = './highlights/node_modules/coffee-script/bin/coffee'.IO.e??'./highlights/node_modules/coffee-script/bin/coffee'!!'./highlights/node_modules/coffeescript/bin/coffee';
169+
169170
sub MAIN(
170171
Bool :$typegraph = False,
171172
Int :$sparse,

0 commit comments

Comments
 (0)