File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 18
18
19
19
param ([string ]$Location = " " ) # empty means determine automatically
20
20
21
- function GetDescription { param ([string ]$Text )
22
- switch ( $Text ) {
21
+ function GetDescription { param ([string ]$text )
22
+ switch ( $text .trim () ) {
23
23
" Blizzard" { return " ❄️ blizzard ⚠️" }
24
24
" Blowing snow" { return " ❄️ blowing snow ⚠️" }
25
25
" Clear" { return " 🌙 clear" }
@@ -52,6 +52,7 @@ function GetDescription { param([string]$Text)
52
52
" Patchy light snow" { return " ❄️ patchy light snow" }
53
53
" Patchy moderate snow" { return " ❄️ patchy moderate snow" }
54
54
" Patchy rain possible" { return " 💧 patchy rain possible" }
55
+ " Patchy rain nearby" { return " 💧 patchy rain nearby" }
55
56
" Patchy snow possible" { return " ❄️ patchy snow possible" }
56
57
" Sunny" { return " ☀️ sunny" }
57
58
" Thundery outbreaks possible" { return " ⚡️thundery outbreaks possible" }
You can’t perform that action at this time.
0 commit comments