Skip to content
Snippets Groups Projects
Commit 5124709b authored by DarkGod's avatar DarkGod
Browse files

fix

parent 1d141f4d
No related branches found
No related tags found
No related merge requests found
......@@ -760,6 +760,15 @@ function fs.exists(path)
return oldfsexists(path)
end
local oldfsgetrealpath = fs.getRealPath
function fs.getRealPath(path)
local p = oldfsgetrealpath(path)
if not p then return p end
local sep = fs.getPathSeparator()
local doublesep = sep..sep
return p:gsub(doublesep, sep)
end
tstring = {}
tstring.is_tstring = true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment