From d73cbf0aa5c9081d965e06822f4958aa5c1871e6 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 20 Jun 2018 15:22:03 -0700 Subject: Cleanups. --- nomsu_compiler.moon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nomsu_compiler.moon') diff --git a/nomsu_compiler.moon b/nomsu_compiler.moon index 4d7b4cf..8226db4 100644 --- a/nomsu_compiler.moon +++ b/nomsu_compiler.moon @@ -339,7 +339,7 @@ with NomsuCompiler .run_lua = (lua, source=nil)=> lua_string = tostring(lua) - run_lua_fn, err = load(lua_string, tostring(source or lua.source), "t", self) + run_lua_fn, err = load(lua_string, nil and tostring(source or lua.source), "t", self) if not run_lua_fn line_numbered_lua = concat( [format("%3d|%s",i,line) for i, line in ipairs get_lines\match(lua_string)], -- cgit v1.2.3