Fix for Lua 5.4 tweaking return values for require()
This commit is contained in:
parent
da2955f95e
commit
078851e028
@ -420,7 +420,7 @@ nomsu_environment = Importer({
|
||||
})
|
||||
nomsu_environment._ENV = nomsu_environment
|
||||
nomsu_environment._G = nomsu_environment
|
||||
nomsu_environment.COMPILE_RULES = Importer(require('bootstrap'))
|
||||
nomsu_environment.COMPILE_RULES = Importer(require('bootstrap'), nil)
|
||||
nomsu_environment.MODULE_NAME = "nomsu"
|
||||
SOURCE_MAP = nomsu_environment.SOURCE_MAP
|
||||
return nomsu_environment
|
||||
|
@ -271,7 +271,7 @@ nomsu_environment = Importer{
|
||||
|
||||
nomsu_environment._ENV = nomsu_environment
|
||||
nomsu_environment._G = nomsu_environment
|
||||
nomsu_environment.COMPILE_RULES = Importer(require('bootstrap'))
|
||||
nomsu_environment.COMPILE_RULES = Importer(require('bootstrap'), nil)
|
||||
nomsu_environment.MODULE_NAME = "nomsu"
|
||||
|
||||
-- Hacky use of globals:
|
||||
|
Loading…
Reference in New Issue
Block a user