We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 330f977 commit 8e1d504Copy full SHA for 8e1d504
src/validation/version.ts
@@ -4,7 +4,7 @@ export function isValidWeaviateVersion(version: string) {
4
if (versionNumbers.length >= 2) {
5
const major = parseInt(versionNumbers[0], 10);
6
const minor = parseInt(versionNumbers[1], 10);
7
- return major <= 1 && minor < 16 ? false : true;
+ return !(major <= 1 && minor < 16);
8
}
9
10
return true;
0 commit comments