[latex3-commits] [git/LaTeX3-latex3-l3build] master: raise an error (f00559b)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Feb 3 17:03:26 CET 2021


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

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

commit f00559b0aee940b253e145f4e358dfba984193dc
Author: LAURENS Jérôme <jerome.laurens at u-bourgogne.fr>
Date:   Wed Feb 3 16:17:44 2021 +0100

    raise an error


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

f00559b0aee940b253e145f4e358dfba984193dc
 l3build-file-functions.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l3build-file-functions.lua b/l3build-file-functions.lua
index 9c8dd06..5679134 100644
--- a/l3build-file-functions.lua
+++ b/l3build-file-functions.lua
@@ -180,7 +180,7 @@ function abspath(path)
     chdir(oldpwd)
     return escapepath(gsub(result, "\\", "/"))
   end
-  return ok, msg
+  error(msg)
 end
 
 function escapepath(path)





More information about the latex3-commits mailing list.