commit e3262f44d5e0947bfef736059e82cd8dbf1f9445 parent 32716a804208379ae6558d9cedbf00e9a95d0f6c Author: Florian Dold <florian@dold.me> Date: Sat, 22 Oct 2022 19:21:41 +0200 use node version check that works with later versions Diffstat:
| M | talerbuildconfig.py | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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] != "" ):