Remove undocument and unused options parameter
This commit is contained in:
parent
101a15c8c9
commit
20a1eef2e4
1 changed files with 1 additions and 3 deletions
|
@ -10,11 +10,9 @@ end
|
|||
-- TODO transform paths:
|
||||
-- * to absolute value (e.g. ~ to home, scandir needs absolute)
|
||||
-- * to ensure / at the end (or no /) gets taken into account
|
||||
function ls.get_anchors_and_paths(path, recursive, options)
|
||||
options = options or {}
|
||||
function ls.get_anchors_and_paths(path, recursive)
|
||||
-- TODO check for duplicates and warn user
|
||||
local zettel = {}
|
||||
-- TODO let user set as option, at least remove magic var
|
||||
local anchorreg = '^.*/?(' .. o.anchor().regex .. ')[^/]*%' ..
|
||||
o.zettel().extension .. '$'
|
||||
|
||||
|
|
Loading…
Reference in a new issue