[latex3-commits] [git/LaTeX3-latex3-lualibs] new-libs: Disable outer return statements (e1828e7)

Marcel Fabian Krüger tex at 2krueger.de
Tue Mar 1 15:47:03 CET 2022


Repository : https://github.com/latex3/lualibs
On branch  : new-libs
Link       : https://github.com/latex3/lualibs/commit/e1828e77b09e22806a7a7f616c40051c5468d83b

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

commit e1828e77b09e22806a7a7f616c40051c5468d83b
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Tue Mar 1 15:24:59 2022 +0100

    Disable outer return statements


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

e1828e77b09e22806a7a7f616c40051c5468d83b
 buildinfo.txt        | 1 +
 lualibs-util-jsn.lua | 2 +-
 lualibs-util-zip.lua | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/buildinfo.txt b/buildinfo.txt
index 36eab0e..0d4c9e9 100644
--- a/buildinfo.txt
+++ b/buildinfo.txt
@@ -20,6 +20,7 @@ copy and rename new files (must be done manually as far as I can see)
 - run l3build.lua tag
 - Add version info to NEWS
 - Enable unicode in lualibs-unicode (until we remove the dependency ...)
+- Disable outer return statements in lualibs-util-jsn and lualibs-util-zip
 
 
 ## Step 4
diff --git a/lualibs-util-jsn.lua b/lualibs-util-jsn.lua
index c1048b0..7467f84 100644
--- a/lualibs-util-jsn.lua
+++ b/lualibs-util-jsn.lua
@@ -448,4 +448,4 @@ end
 --     package.loaded.json = json
 -- end
 
-return json
+-- return json
diff --git a/lualibs-util-zip.lua b/lualibs-util-zip.lua
index 4aa87d5..d478eae 100644
--- a/lualibs-util-zip.lua
+++ b/lualibs-util-zip.lua
@@ -673,4 +673,4 @@ end
 
 zipfiles.gunzipfile = gzip.load
 
-return zipfiles
+-- return zipfiles





More information about the latex3-commits mailing list.