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
end
if opts.print then
print(text)
print(code)
return true
end
return write_file(dest, code)

View File

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