fixed it. move outside of parens
This commit is contained in:
parent
8e0393d982
commit
d7f1541d86
12
index.js
12
index.js
|
@ -123,17 +123,9 @@ const pkg = getPackageJson();
|
||||||
if (
|
if (
|
||||||
version === 'prerelease' &&
|
version === 'prerelease' &&
|
||||||
preReleaseWords &&
|
preReleaseWords &&
|
||||||
!messages.some((message) => preReleaseWords.some((word) => message.includes(word)) && !versionType)
|
!messages.some((message) => preReleaseWords.some((word) => message.includes(word))) &&
|
||||||
|
!versionType
|
||||||
) {
|
) {
|
||||||
console.log(version === 'prerelease');
|
|
||||||
console.log(preReleaseWords);
|
|
||||||
console.log(!messages.some((message) => preReleaseWords.some((word) => message.includes(word))));
|
|
||||||
console.log(!versionType);
|
|
||||||
console.log(
|
|
||||||
version === 'prerelease' &&
|
|
||||||
preReleaseWords &&
|
|
||||||
!messages.some((message) => preReleaseWords.some((word) => message.includes(word)) && !versionType),
|
|
||||||
);
|
|
||||||
version = null;
|
version = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue