Update comments

This commit is contained in:
Matheus Sampaio Queiroga 2024-02-15 17:02:24 -03:00
parent f1d93f21f2
commit ff7b53468f
No known key found for this signature in database
GPG Key ID: 01CCABE2580AFEBC
1 changed files with 2 additions and 2 deletions

View File

@ -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