Allow action path variable maps to use functions as replacement values
This commit is contained in:
parent
ae6ee359d1
commit
7ed7af38db
@ -75,6 +75,9 @@
|
||||
|
||||
if varMap[token] then
|
||||
result = varMap[token]
|
||||
if type(result) == "function" then
|
||||
result = result(environ)
|
||||
end
|
||||
end
|
||||
|
||||
-- If the result is an absolute path, and it is being inserted into
|
||||
|
Reference in New Issue
Block a user