This commit is contained in:
Stephen von Takach 2022-06-02 08:13:17 +10:00 committed by GitHub
commit 536dcb00bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ module Kilt
{% if Kilt::ENGINES[ext] %}
{{Kilt::ENGINES[ext]}}({{filename}}, {{io_name}}, {{*args}})
{% else %}
raise Kilt::Exception.new("Unsupported template engine for extension: \"" + {{ext}} + "\"")
{% raise "Unsupported template engine for extension: #{ext}" %}
{% end %}
end