This commit is contained in:
Kevin Mahoney 2022-11-03 17:18:05 -04:00
parent 3fdf98425b
commit 8e0393d982
No known key found for this signature in database
GPG Key ID: BED5CBC535941AC8
1 changed files with 9 additions and 4 deletions

View File

@ -125,10 +125,15 @@ const pkg = getPackageJson();
preReleaseWords &&
!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');
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;
}