Merge pull request #18 from blueyed/expose-args-excluded-curr_tag_only
Do not set module settings from function args
This commit is contained in:
commit
2a6f8dc9fd
7
init.lua
7
init.lua
|
@ -157,11 +157,8 @@ end
|
|||
function revelation.expose(args)
|
||||
args = args or {}
|
||||
local rule = args.rule or {}
|
||||
local is_excluded = args.is_excluded or false
|
||||
local curr_tag_only = args.curr_tag_only or false
|
||||
|
||||
revelation.is_excluded = is_excluded
|
||||
revelation.curr_tag_only = curr_tag_only
|
||||
local is_excluded = args.is_excluded or revelation.is_excluded
|
||||
local curr_tag_only = args.curr_tag_only or revelation.curr_tag_only
|
||||
|
||||
local t={}
|
||||
local zt={}
|
||||
|
|
Loading…
Reference in New Issue