1
0
mirror of https://github.com/kepler155c/opus synced 2026-04-29 10:01:27 +00:00

better fuzzy matching + vfs type flag in Files

This commit is contained in:
kepler155c@gmail.com
2020-05-19 17:09:10 -06:00
parent b93d69c261
commit 985830fcfd
8 changed files with 115 additions and 66 deletions

View File

@@ -52,8 +52,8 @@ local function run(...)
loadFn = loadfile
end
local funkshun, err = loadFn(path, env)
if not funkshun then
local O_v_O, err = loadFn(path, env)
if not O_v_O then
error(err, -1)
end
@@ -68,7 +68,7 @@ local function run(...)
}
env[ "arg" ] = { [0] = path, table.unpack(args) }
local r = { funkshun(table.unpack(args)) }
local r = { O_v_O(table.unpack(args)) }
tProgramStack[#tProgramStack] = nil