lib/liquidscript/cli.rb in liquidscript-0.11.0.rc1 vs lib/liquidscript/cli.rb in liquidscript-0.11.0
- old
+ new
@@ -46,10 +46,10 @@
private
def perform_compiliation(file, out)
open_files(file, out) do |infile, outfile|
- out = Liquidscript.compile(infile.read)
+ out = Liquidscript.compile(infile.read, :file => file)
outfile.write(out)
end
end
def preform_syntax_check(file)