mirror of
https://github.com/thelounge/thelounge
synced 2025-02-16 13:18:24 +00:00
Fix semver for prerelease versions #4744
This commit is contained in:
commit
8aa5e33b1d
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue