This commit is contained in:
Timo Hocker 2020-05-23 17:42:25 +02:00
parent b7b93c807c
commit 61da0a40c5

View File

@ -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;