From ef4fd70f9c6225dbc9401a5efad4ca0bdad827f8 Mon Sep 17 00:00:00 2001 From: ppoum Date: Sat, 3 Aug 2024 09:58:43 -0400 Subject: [PATCH] Ignore GetRepoPaths error when launching --- pkg/app/app.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/app/app.go b/pkg/app/app.go index e12461e28..755f707c4 100644 --- a/pkg/app/app.go +++ b/pkg/app/app.go @@ -118,11 +118,11 @@ func NewApp(config config.AppConfigurer, test integrationTypes.IntegrationTest, return app, err } - // If we're not in a repo, repoPaths will be nil. The error is moot for us + // If we're not in a repo, GetRepoPaths will return an error. The error is moot for us // at this stage, since we'll try to init a new repo in setupRepo(), below repoPaths, err := git_commands.GetRepoPaths(app.OSCommand.Cmd, gitVersion) if err != nil { - return app, err + common.Log.Infof("Error getting repo paths: %v", err) } showRecentRepos, err := app.setupRepo(repoPaths)