summaryrefslogtreecommitdiffstats
path: root/pkg/app/app.go
diff options
context:
space:
mode:
authorLuka Markušić <luka.markusic@microblink.com>2022-05-08 16:01:30 +0200
committerLuka Markušić <luka.markusic@microblink.com>2022-05-17 07:28:52 +0200
commit1de5ca3511b677bdeb3f7ac066dcfeb5b693ae6f (patch)
tree37691ab5686928501182249e90b3e2a803c60abd /pkg/app/app.go
parentf7c44f2407243418a0c4bb8380ede097694644c3 (diff)
Don't panic when there are no valid git repos
Diffstat (limited to 'pkg/app/app.go')
-rw-r--r--pkg/app/app.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/app/app.go b/pkg/app/app.go
index d6f4c1928..45dcffcd0 100644
--- a/pkg/app/app.go
+++ b/pkg/app/app.go
@@ -190,9 +190,9 @@ func (app *App) setupRepo() (bool, error) {
return true, nil
}
}
- return false, err
}
+ fmt.Println(app.Tr.NoRecentRepositories)
os.Exit(1)
}
if err := app.OSCommand.Cmd.New("git init").Run(); err != nil {