Fix semver for prerelease versions #4744
This commit is contained in:
commit
8aa5e33b1d
@ -74,7 +74,9 @@ program
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
json.thelounge.supports &&
|
json.thelounge.supports &&
|
||||||
!semver.satisfies(Helper.getVersionNumber(), json.thelounge.supports)
|
!semver.satisfies(Helper.getVersionNumber(), json.thelounge.supports, {
|
||||||
|
includePrerelease: true,
|
||||||
|
})
|
||||||
) {
|
) {
|
||||||
log.error(
|
log.error(
|
||||||
`${colors.red(
|
`${colors.red(
|
||||||
|
Loading…
Reference in New Issue
Block a user