[latex3-commits] [git/LaTeX3-latex3-l3build] master: local variable should be inside function (27fe155)
Will Robertson
will at wspr.io
Tue Dec 18 13:45:20 CET 2018
Repository : https://github.com/latex3/l3build
On branch : master
Link : https://github.com/latex3/l3build/commit/27fe15514d30a23eab4c34989d6792e4c4a48182
>---------------------------------------------------------------
commit 27fe15514d30a23eab4c34989d6792e4c4a48182
Author: Will Robertson <wspr81 at gmail.com>
Date: Tue Dec 18 10:40:50 2018 +1030
local variable should be inside function
>---------------------------------------------------------------
27fe15514d30a23eab4c34989d6792e4c4a48182
l3build-upload.lua | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/l3build-upload.lua b/l3build-upload.lua
index 289574e..68692b0 100644
--- a/l3build-upload.lua
+++ b/l3build-upload.lua
@@ -58,10 +58,10 @@ local ctanupload = ctanupload or "ask"
-- if upload is anything else, the user will be prompted whether to upload.
-- For now, this is undocumented. I think I would prefer to keep it always set to ask for the time being.
-local uploadfile = ctanzip..".zip"
-
function upload()
+ local uploadfile = ctanzip..".zip"
+
-- try a sensible default for the package name:
uploadconfig.pkg = uploadconfig.pkg or ctanpkg or nil
More information about the latex3-commits
mailing list