Skip to content

Commit e6a5b41

Browse files
committed
ignored error
1 parent 40fd1d7 commit e6a5b41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/vm/def.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function vm.getDefs(source)
9393
return results
9494
end
9595

96-
local HAS_DEF_ERR = {'<HAS_DEF_ERR>'} -- the error object for comparing
96+
local HAS_DEF_ERR = false -- the error object for comparing
9797
local function checkHasDef(checkFunc, source, pushResult)
9898
local _, err = pcall(checkFunc, source, pushResult)
9999
return err == HAS_DEF_ERR

0 commit comments

Comments
 (0)