add gitleak to cli

This commit is contained in:
Maidul Islam
2023-05-15 19:31:36 -04:00
parent 781e0b24c8
commit b3e68cf3fb
47 changed files with 8064 additions and 127 deletions
+2 -3
View File
@@ -12,9 +12,8 @@ import (
"runtime"
"strings"
log "github.com/sirupsen/logrus"
"github.com/fatih/color"
"github.com/rs/zerolog/log"
)
func CheckForUpdate() {
@@ -23,7 +22,7 @@ func CheckForUpdate() {
}
latestVersion, err := getLatestTag("Infisical", "infisical")
if err != nil {
log.Debug(err)
log.Debug().Err(err)
// do nothing and continue
return
}