fix
This commit is contained in:
parent
b7b93c807c
commit
61da0a40c5
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user