From 61da0a40c5648fe8e5de30d9679116496876281d Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Sat, 23 May 2020 17:42:25 +0200 Subject: [PATCH] fix --- jenkins.run.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkins.run.js b/jenkins.run.js index ed98f38..4fc9def 100644 --- a/jenkins.run.js +++ b/jenkins.run.js @@ -59,7 +59,7 @@ if (fs.existsSync ('CHANGELOG.md')) { const cl_version = (/^## ([0-9x.]+)/mu).exec (changelog); if ( cl_version === null - || major (cl_version[1] !== major (pkg.version)) + || major (cl_version[1]) !== major (pkg.version) ) { console.log ('changelog is not up to date'); ok = false;