ws-cleanup: merge ws/cleanup-types (type annotations)
This commit is contained in:
commit
5d7c223ab8
115 files changed
+583
-515
No files matched your search
@@ -117,7 +117,7 @@ local function zae(r: Bytes.Reader): (any, string?, Err.Err?)
|
||||
local manifest = zip:readString("manifest.xml")
|
||||
if manifest then
|
||||
local d = Xml.decode(manifest)
|
||||
local rootEl = d and d.root and Xml.child(d.root, "dae_root")
|
||||
local rootEl = d and d.root and Xml.child(d.root :: Xml.Node, "dae_root")
|
||||
if rootEl then
|
||||
main = string.match(Xml.text(rootEl), "^%s*(.-)%s*$")
|
||||
main = main and string.gsub(main, "^%./", "")
|
||||
|
||||
Reference in new issue
Block a user