[latex3-commits] [latex3/l3build] main: Drop a shadowed `testdir` local to "then" body (ec6d7ae)

github at latex-project.org github at latex-project.org
Tue Jan 9 19:29:37 CET 2024


Repository : https://github.com/latex3/l3build
On branch  : main
Link       : https://github.com/latex3/l3build/commit/ec6d7ae3e89784d4727b9f1a267555e71680b412

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

commit ec6d7ae3e89784d4727b9f1a267555e71680b412
Author: Yukai Chou <muzimuzhi at gmail.com>
Date:   Wed Jan 10 01:09:39 2024 +0800

    Drop a shadowed `testdir` local to "then" body


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

ec6d7ae3e89784d4727b9f1a267555e71680b412
 l3build-check.lua | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/l3build-check.lua b/l3build-check.lua
index 2a50c59..3542bce 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -1065,10 +1065,6 @@ function checkdiff(config)
   if next(diff_files) then
     if config then
       print("Failed tests for configuration \"" .. config .. "\":")
-      local testdir = testdir
-      if config ~= "build" then
-        testdir = testdir .. "-" .. config
-      end
     end
     print("\n  Check failed with difference files")
     for _,i in ipairs(diff_files) do





More information about the latex3-commits mailing list.