Skip to content

Commit bdc214f

Browse files
committed
Fix sprintf formatting
1 parent 003d369 commit bdc214f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/forecast.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func printOutput(format string, stop *luas.Stop, stopInfo *luas.StopInfo) {
4848
if tram.Destination == "No trams forecast" {
4949
output.Warnf("No trams")
5050
} else if tram.DueMins == "DUE" {
51-
output.Infof("Destination: %s, due to arrive", tram.Destination, tram.DueMins)
51+
output.Infof("Destination: %s, due to arrive", tram.Destination)
5252
} else {
5353
output.Infof("Destination: %s, due in %s minutes", tram.Destination, tram.DueMins)
5454
}

0 commit comments

Comments
 (0)