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
attempt to index a boolean value (local 'str')
stack traceback:
./cliargs/utils/trim.lua:3: in function 'cliargs.utils.trim'
./cliargs/config_loader.lua:99: in function 'cliargs.config_loader.from_ini'
(...tail calls...)
./test.lua:2: in main chunk
[C]: in ?
Notes:
the error does not occur once I read only string values from the ini file
the error disappear once I set the fourth parameter of function read_defaults to true (line 2)
The text was updated successfully, but these errors were encountered:
PR #63 now contains a failing test case #read_defaults_from_ini_file_group_with_cast related this issue. It is currently disabled as there is no fix available yet.
Even with #63 applied, reading from .ini files can fail:
Minimum working example:
test.ini
test.lua
Running
test.lua
result in this error:Notes:
read_defaults
totrue
(line 2)The text was updated successfully, but these errors were encountered: