diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-15 00:20:27 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-15 00:20:32 -0700 |
| commit | f790caf0ab1599ef1443876488bad02dadef7488 (patch) | |
| tree | ca5e94344fa541a8355ccde496b375cf0b17928f | |
| parent | 1a6e28e8358e8ed9a6de4d4112da6b3506e6f6a3 (diff) | |
Removed debug shim.
| -rw-r--r-- | nomsu.lua | 2 | ||||
| -rwxr-xr-x | nomsu.moon | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -402,7 +402,7 @@ do run_lua = function(self, lua) assert(type(lua) ~= 'string', "Attempt to run lua string instead of Lua (object)") local lua_string = tostring(lua) - local run_lua_fn, err = load(lua_string, nil and tostring(lua.source), "t", self.environment) + local run_lua_fn, err = load(lua_string, tostring(lua.source), "t", self.environment) if not run_lua_fn then local n = 1 local fn @@ -379,7 +379,7 @@ class NomsuCompiler run_lua: (lua)=> assert(type(lua) != 'string', "Attempt to run lua string instead of Lua (object)") lua_string = tostring(lua) - run_lua_fn, err = load(lua_string, nil and tostring(lua.source), "t", @environment) + run_lua_fn, err = load(lua_string, tostring(lua.source), "t", @environment) if not run_lua_fn n = 1 fn = -> |
