ws-cleanup: merge ws/cleanup-types (type annotations)

This commit is contained in:
4DBug committed 2026-10-31 11:27:42 -05:00
commit 5d7c223ab8
115 files changed
+583 -515

No files matched your search

+1 -1
View File
@@ -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, "^%./", "")