Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stevedonovan/Penlight.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Donovan <steve.j.donovan@gmail.com>2013-09-06 17:51:09 +0400
committerSteve Donovan <steve.j.donovan@gmail.com>2013-09-06 17:51:09 +0400
commite852f927654e246c88f3f5395cbf4fb6b055e6a9 (patch)
tree9dc3271032212e2ef10d76725ebefd13b68948b1 /run.lua
parent0e586d8fc507294a7d511b3b821cd39f96e0c0fd (diff)
keep utils.is_type where it is for now; types.is_type is an alias
Diffstat (limited to 'run.lua')
-rw-r--r--run.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/run.lua b/run.lua
index a57db22..ca1af6d 100644
--- a/run.lua
+++ b/run.lua
@@ -15,9 +15,9 @@ local cmd = app.lua()
function do_lua_files ()
for _,f in ipairs(dir.getfiles('.','*.lua')) do
print(cmd..' '..f)
- local res = utils.execute(cmd..' '..f)
+ local res,code = utils.execute(cmd..' '..f)
if not res then
- print ('process failed with non-zero result: '..f)
+ print ('process failed with non-zero result: ['..code..'] '..f)
os.exit(1)
end
end