Skip to content

Commit

Permalink
Fix lower-case location string comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
msharris committed Mar 16, 2024
1 parent 5e70588 commit f9e2d24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ func Run(options Options) error {
}

func filter(stations []Station, names []string) []Station {
for _, n := range names {
strings.ToLower(n)
for i := range names {
names[i] = strings.ToLower(names[i])
}

var filtered []Station
Expand Down

0 comments on commit f9e2d24

Please sign in to comment.