refactor(import): drop redundant mobileFileBridge or and unused ready

scanInbox never consulted ready, and mobileFileBridge already mirrors
android on Android/iOS, so the dual guard was a no-op.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Andrew Quenehen
2026-08-03 10:02:17 -03:00
parent 17843c2f7a
commit 50fd0e9c7d
3 changed files with 7 additions and 8 deletions
@@ -163,7 +163,7 @@ eq(savs[1], "imports/saves/red/valid.sav", "scanSavesInbox path is under imports
ri = freshImporter()
love.filesystem.write("imports/saves/red/cart.sav", string.rep("S", 32))
love.filesystem.write("imports/saves/red/dump.gb", string.rep("G", 16))
local roms = ri:scanInbox(ri.ready)
local roms = ri:scanInbox()
for _, path in ipairs(roms) do
check(not path:lower():match("%.sav$"),
"ROM scanInbox ignores .sav: " .. tostring(path))