1
0
Fork 0
mirror of https://github.com/notwa/lips synced 2024-05-03 01:53:23 -07:00

don't error when no options are given

d'oh!
This commit is contained in:
Connor Olding 2015-11-24 17:15:12 -08:00
parent 5aa0b5abe1
commit 9ccf2fd883

View File

@ -1334,7 +1334,7 @@ local function assemble(fn_or_asm, writer, options)
return parser:parse(asm)
end
if options.unsafe then
if options and options.unsafe then
return main()
else
local ok, err = pcall(main)