model/sourcemdl: type annotations (lint type baseline back at 92); bundles regenerated
This commit is contained in:
1 parent
7a69ba8455
commit
fe1ee676c6
5 files changed
+165
-177
No files matched your search
+3
-7
@@ -169627,13 +169627,9 @@ local KeyValues = __include("codecs/text/KeyValues")
|
||||
local Material = {}
|
||||
|
||||
local function dir(s)
|
||||
local d = string.gsub(s, "\\", "/")
|
||||
d = string.gsub(d, "^/+", "")
|
||||
if d ~= "" and string.sub(d, -1) ~= "/" then
|
||||
d =d.. "/"
|
||||
end
|
||||
return d
|
||||
end
|
||||
local d= string.gsub(string.gsub(s, "\\", "/"), "^/+", "")
|
||||
return (d ~= "" and string.sub(d, -1) ~= "/" and((d .. "/" ))or(d
|
||||
))end
|
||||
|
||||
local function path(s)
|
||||
local p = string.gsub(string.gsub(s, "\\", "/"), "^/+", "")
|
||||
|
||||
Reference in new issue
Block a user