diff --git a/pkg/app/app.go b/pkg/app/app.go index a533e6c64..a53e4db8c 100644 --- a/pkg/app/app.go +++ b/pkg/app/app.go @@ -194,14 +194,14 @@ func (app *App) setupRepo() (bool, error) { shouldInitRepo := true notARepository := app.Config.GetUserConfig().NotARepository - if(notARepository == "prompt") { + if notARepository == "prompt" { // Offer to initialize a new repository in current directory. fmt.Print(app.Tr.CreateRepo) response, _ := bufio.NewReader(os.Stdin).ReadString('\n') if strings.Trim(response, " \n") != "y" { shouldInitRepo = false } - } else if(notARepository == "skip") { + } else if notARepository == "skip" { shouldInitRepo = false }