[latex3-commits] [git/LaTeX3-latex3-l3build] master: Update l3build-aux.lua (2991477)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Jan 26 12:56:37 CET 2021


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/2991477fb7ccb46ecf1abb514905a60f84c8e30c

>---------------------------------------------------------------

commit 2991477fb7ccb46ecf1abb514905a60f84c8e30c
Author: LAURENS Jérôme <jerome.laurens at u-bourgogne.fr>
Date:   Mon Jan 25 16:43:06 2021 +0100

    Update l3build-aux.lua
    
    Missing `>0` to test for a void table


>---------------------------------------------------------------

2991477fb7ccb46ecf1abb514905a60f84c8e30c
 l3build-aux.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l3build-aux.lua b/l3build-aux.lua
index 2b8a67b..d7aa8fc 100644
--- a/l3build-aux.lua
+++ b/l3build-aux.lua
@@ -128,7 +128,7 @@ function call(modules, target, opts)
   local script_name = get_script_name()
   for _, module in ipairs(modules) do
     local text
-    if module == "." and opts["config"] and #opts["config"] then
+    if module == "." and opts["config"] and #opts["config"]>0 then
       text = " with configuration " .. opts["config"][1]
     else
       text = " for module " .. module





More information about the latex3-commits mailing list.