[latex3-commits] [git/LaTeX3-latex3-l3build] master: typo i instead of name (2eeaea8)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Feb 11 16:01:10 CET 2021


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/2eeaea849c38d389b8c81ab18dbe49b0a226a085

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

commit 2eeaea849c38d389b8c81ab18dbe49b0a226a085
Author: LAURENS Jérôme <jerome.laurens at u-bourgogne.fr>
Date:   Thu Feb 11 15:38:05 2021 +0100

    typo i instead of name
    
    Using a possibly undefined global variable `i` instead of the local one `name`


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

2eeaea849c38d389b8c81ab18dbe49b0a226a085
 l3build-check.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l3build-check.lua b/l3build-check.lua
index 1053280..2b8e579 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -874,7 +874,7 @@ function check(names)
         end
         for _,name in pairs(filelist(unpackdir, glob .. lvtext)) do
           if fileexists(testfiledir .. "/" .. name) then
-            print("Duplicate test file: " .. i)
+            print("Duplicate test file: " .. name)
             return 1
           end
           addname(name)





More information about the latex3-commits mailing list.