diff options
-rw-r--r-- | lib/WebCoso/Maker.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/WebCoso/Maker.pm b/lib/WebCoso/Maker.pm index 86241a7..91ceb03 100644 --- a/lib/WebCoso/Maker.pm +++ b/lib/WebCoso/Maker.pm @@ -43,8 +43,10 @@ role WebCoso::Maker[$from,$to] { deps => @depsĀ».slurp, ); + # that .Str.IO is a hack to work around + # https://rt.perl.org/Public/Bug/Display.html?id=126006 %dsts{$lang} = $.wc.put-file($.dir,$.basename,$lang,$to, - $processed-contents) + $processed-contents).Str.IO; } return %dsts; } |