From 672b4f191ac5723ee460e469d58fff2ca2cb386b Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Sun, 1 Jul 2018 21:29:56 -0300 Subject: test.busted: luacheck fix --- src/luarocks/test/busted.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/luarocks/test/busted.lua b/src/luarocks/test/busted.lua index c27c449c..618054c7 100644 --- a/src/luarocks/test/busted.lua +++ b/src/luarocks/test/busted.lua @@ -46,8 +46,9 @@ function busted.run_tests(test, args) table.insert(args, i, test.flags[i]) end end - - local ok, err = fs.execute(busted_exe, unpack(args)) + + local err + ok, err = fs.execute(busted_exe, unpack(args)) if ok then return true else -- cgit v1.2.3-55-g6feb