mirror of
https://github.com/leafo/moonscript.git
synced 2025-01-09 00:04:22 +00:00
fix printing wrong thing
This commit is contained in:
parent
5c44d98775
commit
e191ba9858
@ -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)
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user