This commit is contained in:
Timo Hocker 2020-05-13 08:31:36 +02:00
parent c5cdd2846a
commit f180ec72e8
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ if (fs.existsSync ('README.md')) {
// eslint-disable-next-line prefer-named-capture-group
const version = (/version: ([0-9.]+)/ui).exec (readme);
if (
typeof version === 'undefined'
version === null
|| version[1] !== pkg.version
) {
console.log ('readme version does not match package version');

View File

@ -31,7 +31,7 @@ if (fs.existsSync ('README.md')) {
// eslint-disable-next-line prefer-named-capture-group
const version = (/version: ([0-9.]+)/ui).exec (readme);
if (
typeof version === 'undefined'
version === null
|| version[1] !== pkg.version
) {
console.log ('readme version does not match package version');