From 3bfe5a219deb8841c91431780e967740fe8987e5 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 22 Nov 2020 10:47:29 +0100 Subject: [PATCH] Update weather-alert.ps1 --- Scripts/weather-alert.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/weather-alert.ps1 b/Scripts/weather-alert.ps1 index 049c4606..6fbb69aa 100755 --- a/Scripts/weather-alert.ps1 +++ b/Scripts/weather-alert.ps1 @@ -11,10 +11,10 @@ $GeoLocation="" # empty means determine automatically function Check { param ([int]$Value, [int]$NormalMin, [int]$NormalMax, [string]$Unit) if ($Value -lt $NormalMin) { - return "$Value $Unit !" + return "$Value $Unit ! " } if ($Value -gt $NormalMax) { - return "$Value $Unit !" + return "$Value $Unit ! " } return "" }