Fix semver for prerelease versions #4744

This commit is contained in:
Reto Brunner 2023-06-24 14:35:41 +02:00
commit 8aa5e33b1d

View File

@ -74,7 +74,9 @@ program
if (
json.thelounge.supports &&
!semver.satisfies(Helper.getVersionNumber(), json.thelounge.supports)
!semver.satisfies(Helper.getVersionNumber(), json.thelounge.supports, {
includePrerelease: true,
})
) {
log.error(
`${colors.red(