[latex3-commits] [git/LaTeX3-latex3-l3build] master: Missing open type (e7b9117)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Dec 21 08:52:04 CET 2018


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/e7b91174f8b22332fee6d751115c6533afe8cc1a

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

commit e7b91174f8b22332fee6d751115c6533afe8cc1a
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Dec 21 07:52:04 2018 +0000

    Missing open type


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

e7b91174f8b22332fee6d751115c6533afe8cc1a
 l3build-upload.lua |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l3build-upload.lua b/l3build-upload.lua
index d4f385e..68b6fb7 100644
--- a/l3build-upload.lua
+++ b/l3build-upload.lua
@@ -87,7 +87,7 @@ function upload(tagnames)
 
   -- Get data from command line if appropriate
   if options["file"] then
-    local f = open(file)
+    local f = open(file,"r")
     uploadconfig.announcement = assert(f:read('*a'))
     close(f)
   end





More information about the latex3-commits mailing list