mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
Add eqeqeq rule to not confuse == with ===
This commit is contained in:
@@ -456,7 +456,7 @@ Module.register("weatherforecast",{
|
||||
});
|
||||
|
||||
//If no rain this day return undefined so it wont be displayed for this day
|
||||
if (daysForecasts.length == 0) {
|
||||
if (daysForecasts.length === 0) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user