another attempt at fixing preset argument
This commit is contained in:
parent
e3695bfb84
commit
155f868f56
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
local preset = rawget(_G, 'preset') or 'ars'
|
||||
local preset = rawget(_G, 'preset')
|
||||
preset = preset ~= nil and preset ~= '' and preset or 'ars'
|
||||
|
||||
local common_cfg = {
|
||||
-- read-only modes:
|
||||
|
|
2
main.lua
2
main.lua
|
@ -1,4 +1,4 @@
|
|||
preset = arg -- must be done before requiring strict!
|
||||
preset = arg or "" -- must be done before requiring strict!
|
||||
local globalize = require("strict")
|
||||
|
||||
-- configuration.
|
||||
|
|
Loading…
Reference in a new issue