aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/run.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-04-06 10:35:46 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2012-04-06 10:35:46 -0400
commit105b5ca336aab1b319d85f0db849073530155c76 (patch)
treef00271545642cf7a10c23ef96d4f2e3d5a0ce6f7 /modules/textadept/run.lua
parent3ff796f119d73e487cedaa4f618d60fbe6cb3244 (diff)
downloadtextadept-105b5ca336aab1b319d85f0db849073530155c76.tar.gz
textadept-105b5ca336aab1b319d85f0db849073530155c76.zip
Fixed bug in run/compile commands with LuaJIT; modules/textadept/run.lua
Diffstat (limited to 'modules/textadept/run.lua')
-rw-r--r--modules/textadept/run.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/run.lua b/modules/textadept/run.lua
index da914e24..f8a10fac 100644
--- a/modules/textadept/run.lua
+++ b/modules/textadept/run.lua
@@ -68,7 +68,7 @@ function M.execute(command, lexer)
events_emit(COMPILE_OUTPUT, lexer, line:iconv('UTF-8', _CHARSET))
end
local ok, status, code = p:close()
- if ok then events_emit(COMPILE_OUTPUT, lexer, status..': '..code) end
+ if ok and code then events_emit(COMPILE_OUTPUT, lexer, status..': '..code) end
lfs.chdir(current_dir)
end