Fix semver for prerelease versions #4744
This commit is contained in:
commit
8aa5e33b1d
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user