From f790caf0ab1599ef1443876488bad02dadef7488 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 15 Jun 2018 00:20:27 -0700 Subject: [PATCH] Removed debug shim. --- nomsu.lua | 2 +- nomsu.moon | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nomsu.lua b/nomsu.lua index 2482e46..ea1ba1b 100644 --- a/nomsu.lua +++ b/nomsu.lua @@ -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 diff --git a/nomsu.moon b/nomsu.moon index fe18530..3c38b1f 100755 --- a/nomsu.moon +++ b/nomsu.moon @@ -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 = ->