From dcba2569034c9144bc5944ad606e771cb1c91169 Mon Sep 17 00:00:00 2001 From: Beatriz Vieira Date: Sat, 31 Jul 2021 16:35:54 -0300 Subject: [PATCH] refactor: fix ifshort lint --- cmd/git-sv/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/git-sv/main.go b/cmd/git-sv/main.go index 670ff92..bb57b38 100644 --- a/cmd/git-sv/main.go +++ b/cmd/git-sv/main.go @@ -164,8 +164,7 @@ func main() { }, } - apperr := app.Run(os.Args) - if apperr != nil { + if apperr := app.Run(os.Args); apperr != nil { log.Fatal(apperr) } }