mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
Disable name style check due to open issue
https://github.com/LuaLS/lua-language-server/issues/2643
This commit is contained in:
@@ -124,7 +124,6 @@ end
|
||||
--- Same as require but will return nil if the module does not exist, all other errors will propagate to the caller
|
||||
--- @param module_path string The path to the module to require, same syntax as normal require
|
||||
--- @return any # The contents of the module, or nil if the module does not exist or did not return a value
|
||||
--- @deprecated
|
||||
function ExpUtil.optional_require(module_path)
|
||||
local success, rtn = xpcall(require, traceback, module_path)
|
||||
if success then return rtn end
|
||||
|
||||
Reference in New Issue
Block a user