diff options
author | 2012-04-06 10:35:46 -0400 | |
---|---|---|
committer | 2012-04-06 10:35:46 -0400 | |
commit | 105b5ca336aab1b319d85f0db849073530155c76 (patch) | |
tree | f00271545642cf7a10c23ef96d4f2e3d5a0ce6f7 /modules/textadept/run.lua | |
parent | 3ff796f119d73e487cedaa4f618d60fbe6cb3244 (diff) | |
download | textadept-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.lua | 2 |
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 |