diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-29 17:16:33 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-29 17:16:33 -0800 |
| commit | 078851e0281d072ee55a3d2772958d58f6eab8c8 (patch) | |
| tree | 17810d08c3fb6d0eab0c0d8a562a2e6e2f319803 | |
| parent | da2955f95e968d80daddee0a2f6cf5f512160c10 (diff) | |
Fix for Lua 5.4 tweaking return values for require()
| -rw-r--r-- | nomsu_environment.lua | 2 | ||||
| -rw-r--r-- | nomsu_environment.moon | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nomsu_environment.lua b/nomsu_environment.lua index 6671f38..d9013d0 100644 --- a/nomsu_environment.lua +++ b/nomsu_environment.lua @@ -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 diff --git a/nomsu_environment.moon b/nomsu_environment.moon index 0f5f411..f2e14ad 100644 --- a/nomsu_environment.moon +++ b/nomsu_environment.moon @@ -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: |
