mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 20:22:53 +00:00
Merge pull request #2398 from fewieden/patch-2
Highlight required version mismatch
This commit is contained in:
commit
da00c168ae
@ -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 dependencies eslint, feedme, simple-git and socket.io to latest versions.
|
||||||
- Update lithuanian translation.
|
- Update lithuanian translation.
|
||||||
- Update config sample.
|
- Update config sample.
|
||||||
|
- Highlight required version mismatch
|
||||||
|
|
||||||
### Deleted
|
### Deleted
|
||||||
|
|
||||||
|
@ -510,7 +510,7 @@ Module.register = function (name, moduleDefinition) {
|
|||||||
if (cmpVersions(window.version, moduleDefinition.requiresVersion) >= 0) {
|
if (cmpVersions(window.version, moduleDefinition.requiresVersion) >= 0) {
|
||||||
Log.log("Version is ok!");
|
Log.log("Version is ok!");
|
||||||
} else {
|
} else {
|
||||||
Log.log("Version is incorrect. Skip module: '" + name + "'");
|
Log.warn("Version is incorrect. Skip module: '" + name + "'");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user