Merge pull request #2398 from fewieden/patch-2

Highlight required version mismatch
This commit is contained in:
Michael Teeuw 2021-01-01 15:59:45 +01:00 committed by GitHub
commit da00c168ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -33,6 +33,7 @@ _This release is scheduled to be released on 2021-01-01._
- Update dependencies eslint, feedme, simple-git and socket.io to latest versions.
- Update lithuanian translation.
- Update config sample.
- Highlight required version mismatch
### Deleted

View File

@ -510,7 +510,7 @@ Module.register = function (name, moduleDefinition) {
if (cmpVersions(window.version, moduleDefinition.requiresVersion) >= 0) {
Log.log("Version is ok!");
} else {
Log.log("Version is incorrect. Skip module: '" + name + "'");
Log.warn("Version is incorrect. Skip module: '" + name + "'");
return;
}
}