You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When torchbear is run as torchbear lua_script some_arg (and also with a shebang), the lua global arg is set to {"lua_script", "some_arg"} but when it's just the command torchbear, arg is set to nil. It should be set to an empty table.
The text was updated successfully, but these errors were encountered:
$ torchbear
arg: nil
2019-01-26 20:58:44 ERROR: init.lua:2: attempt to get length of a nil value (global 'arg')
stack traceback:
init.lua:2: in local 'init_f'
[string "?"]:15: in function <[string "?"]:11>
[C]: in function 'xpcall'
[string "?"]:11: in main chunk
When torchbear is run as
torchbear lua_script some_arg
(and also with a shebang), the lua global arg is set to{"lua_script", "some_arg"}
but when it's just the commandtorchbear
, arg is set to nil. It should be set to an empty table.The text was updated successfully, but these errors were encountered: