Browse Source

Remove useless space trimming

pull/793/head
xpetit 3 years ago
parent
commit
722845a25a
No known key found for this signature in database
GPG Key ID: 97C60669182C17A5
  1. 2
      sh/debian/ubuntu/system/usr/local/src/format/main.go

2
sh/debian/ubuntu/system/usr/local/src/format/main.go diff.vendored

@ -166,7 +166,7 @@ func main() {
} }
var choice string var choice string
fmt.Scanln(&choice) fmt.Scanln(&choice)
if strings.TrimSpace(strings.ToLower(choice)) == "exit" { if strings.ToLower(choice) == "exit" {
return return
} }
var nb int var nb int

Loading…
Cancel
Save