web: fix micro -> patch version field rename
@@ -31,11 +31,11 @@ getVersions()
error(`are you sure you have libelektra and kdb installed?`);
process.exit(1);
} else {
- const { major, minor, micro } = versions.elektra;
- const versionSupported = major >= 0 && minor >= 9 && micro >= 0;
+ const { major, minor, patch } = versions.elektra;
+ const versionSupported = major >= 0 && minor >= 9 && patch >= 0;
if (!versionSupported) {
error(
- `you are running an old libelektra version, which is not supported`
+ `you are running an old libelektra version ${major}.${minor}.${patch}, which is not supported`
);
error(`please upgrade to libelektra 0.9.0 or higher`);
process.exit(1);
