Removed unecessary duplicates.

This commit is contained in:
Adam Harrison committed 2021-07-20 14:50:40 -04:00
1 parent 0777a6f0b8
commit c461cfae93
3 files changed
-80

No files matched your search

-10
View File
@@ -263,16 +263,6 @@ function common.home_expand(text)
end
function common.normalize_path(filename)
if PATHSEP == '\\' then
filename = filename:gsub('[/\\]', '\\')
local drive, rem = filename:match('^([a-zA-Z])(:.*)')
return drive and drive:upper() .. rem or filename
end
return filename
end
local function split_on_slash(s, sep_pattern)
local t = {}
if s:match("^[/\\]") then