replace() gets confused if you give it a singleton list as its parameter.
This commit is contained in:
parent
a200a2fb53
commit
b592c88bdf
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ local function dirname(...)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function replace(files, pattern, repl)
|
local function replace(files, pattern, repl)
|
||||||
return dotocollection(files,
|
return dotocollection({files},
|
||||||
function(filename)
|
function(filename)
|
||||||
return filename:gsub(pattern, repl)
|
return filename:gsub(pattern, repl)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue