fix printing wrong thing

This commit is contained in:
leaf corcoran 2014-07-18 18:08:19 -07:00
parent 5c44d98775
commit e191ba9858
2 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ compile_and_write = function(src, dest, opts)
return true return true
end end
if opts.print then if opts.print then
print(text) print(code)
return true return true
end end
return write_file(dest, code) return write_file(dest, code)

View File

@ -137,7 +137,7 @@ compile_and_write = (src, dest, opts={}) ->
return true return true
if opts.print if opts.print
print text print code
return true return true
write_file dest, code write_file dest, code