mirror of
https://github.com/ShadowKatStudios/OC-Minitel.git
synced 2024-11-23 10:38:05 +11:00
made fs.resolve remove trailing /s
This commit is contained in:
parent
7e9758ca6d
commit
e74b8282c6
@ -14,6 +14,7 @@ function fs.resolve(path)
|
|||||||
for i = 2, #segments do
|
for i = 2, #segments do
|
||||||
rpath = rpath .. segments[i] .. "/"
|
rpath = rpath .. segments[i] .. "/"
|
||||||
end
|
end
|
||||||
|
rpath = rpath:match("(.+)/") or rpath
|
||||||
return segments[1],rpath
|
return segments[1],rpath
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user