From 722845a25a7548a6a9fb5ffa568fd89edbc88775 Mon Sep 17 00:00:00 2001 From: xpetit <32063953+xpetit@users.noreply.github.com> Date: Thu, 17 Jun 2021 16:39:20 +0200 Subject: [PATCH] Remove useless space trimming --- sh/debian/ubuntu/system/usr/local/src/format/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/debian/ubuntu/system/usr/local/src/format/main.go b/sh/debian/ubuntu/system/usr/local/src/format/main.go index 57415a218..3e195e64c 100644 --- a/sh/debian/ubuntu/system/usr/local/src/format/main.go +++ b/sh/debian/ubuntu/system/usr/local/src/format/main.go @@ -166,7 +166,7 @@ func main() { } var choice string fmt.Scanln(&choice) - if strings.TrimSpace(strings.ToLower(choice)) == "exit" { + if strings.ToLower(choice) == "exit" { return } var nb int