* Fix Winodws path issue by replacing backslashes with forward slashes * Fix #2862 (handle all filename-related tasks) * fix type mismatch --------- Co-authored-by: Alexander Courtis <alex@courtis.org>
This commit is contained in:
@@ -290,7 +290,7 @@ function M.escape_special_chars(path)
|
||||
if path == nil then
|
||||
return path
|
||||
end
|
||||
return M.is_windows and path:gsub("%(", "\\("):gsub("%)", "\\)") or path
|
||||
return M.is_windows and path:gsub("\\", "/") or path
|
||||
end
|
||||
|
||||
--- Create empty sub-tables if not present
|
||||
|
||||
Reference in New Issue
Block a user