mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
fix feature compatibility version check expression (#3546)
This commit is contained in:
parent
1d482c02dc
commit
f0ddbc8420
@ -36,7 +36,7 @@ export const getFeaturesCompatibility = serverVersion => {
|
||||
|
||||
Object.keys(featureLaunchVersions).forEach(feature => {
|
||||
featuresCompatibility[feature] = isValidServerVersion
|
||||
? semver.satisfies(featureLaunchVersions[feature], '<=' + serverVersion)
|
||||
? semver.satisfies(serverVersion, '>=' + featureLaunchVersions[feature])
|
||||
: true;
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user