From ec6d7ae3e89784d4727b9f1a267555e71680b412 Mon Sep 17 00:00:00 2001 From: Yukai Chou Date: Wed, 10 Jan 2024 01:09:39 +0800 Subject: [PATCH] Drop a shadowed `testdir` local to "then" body --- 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