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
|
||||
end
|
||||
if opts.print then
|
||||
print(text)
|
||||
print(code)
|
||||
return true
|
||||
end
|
||||
return write_file(dest, code)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user