From ff7b53468f8c5b8ad778ac50c36d63531be7e627 Mon Sep 17 00:00:00 2001 From: Matheus Sampaio Queiroga Date: Thu, 15 Feb 2024 17:02:24 -0300 Subject: [PATCH] Update comments --- modules/task/login_create.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/task/login_create.go b/modules/task/login_create.go index c943b74..324e070 100644 --- a/modules/task/login_create.go +++ b/modules/task/login_create.go @@ -18,10 +18,10 @@ import ( // SetupHelper add tea helper to config global func SetupHelper(login config.Login) error { - // Remove all helpers + // Remove old helper exec.Command("git", "config", "--global", "--unset-all", fmt.Sprintf("credential.%s.helper", login.URL)).Run() - // + // force command line to use tea _, err := exec.Command("git", "config", "--global", fmt.Sprintf("credential.%s.helper", login.URL), "").Output() if err != nil { return err