Add eqeqeq rule to not confuse == with ===

This commit is contained in:
Veeck
2020-04-21 15:13:06 +02:00
parent e510d279a2
commit 0c60d54c3f
4 changed files with 13 additions and 12 deletions

View File

@@ -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;
}