gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-build-common] branch master updated: use node version check that


From: gnunet
Subject: [taler-build-common] branch master updated: use node version check that works with later versions
Date: Sat, 22 Oct 2022 19:21:45 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository build-common.

The following commit(s) were added to refs/heads/master by this push:
     new e3262f4  use node version check that works with later versions
e3262f4 is described below

commit e3262f44d5e0947bfef736059e82cd8dbf1f9445
Author: Florian Dold <florian@dold.me>
AuthorDate: Sat Oct 22 19:21:41 2022 +0200

    use node version check that works with later versions
---
 talerbuildconfig.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/talerbuildconfig.py b/talerbuildconfig.py
index f41c505..016feb8 100644
--- a/talerbuildconfig.py
+++ b/talerbuildconfig.py
@@ -486,7 +486,7 @@ class NodeJsTool(Tool):
             return False
         if (
             subprocess.getstatusoutput(
-                "node -p 'process.exit(!(/v([0-9]+)/.exec(process.version)[1] 
>= 4))'"
+                "node -p 'process.exit((/v([0-9]+)/.exec(process.version)[1] 
>= 4) ? 0 : 5)'"
             )[1]
             != ""
         ):

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]