fix
This commit is contained in:
parent
c5cdd2846a
commit
f180ec72e8
@ -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');
|
||||
|
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user