[latex3-commits] [latex3/l3sys-query] 2e: Correct a conditional (2bb1a41)

github at latex-project.org github at latex-project.org
Sun Mar 10 21:27:21 CET 2024


Repository : https://github.com/latex3/l3sys-query
On branch  : 2e
Link       : https://github.com/latex3/l3sys-query/commit/2bb1a41e230037c18f36df6f98fa9ead32a7fb5f

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

commit 2bb1a41e230037c18f36df6f98fa9ead32a7fb5f
Author: Joseph Wright <joseph at texdev.net>
Date:   Sun Mar 10 19:53:56 2024 +0000

    Correct a conditional


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

2bb1a41e230037c18f36df6f98fa9ead32a7fb5f
 l3sys-query.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l3sys-query.lua b/l3sys-query.lua
index deafc60..388db6c 100755
--- a/l3sys-query.lua
+++ b/l3sys-query.lua
@@ -433,7 +433,7 @@ end
 -- Lua pattern, and then to do a listing.
 cmd_desc.ls = "Prints a listing based on the <args> and <options>"
 function cmd_impl.ls(arg_list)
-  if not arg_list or arg_list == "" or arg_list = "." then
+  if not arg_list or arg_list == "" or arg_list == "." then
     arg_list = "*"
   end
   -- Look for absolute paths or any trying to leave the confines of the current





More information about the latex3-commits mailing list.