remove unused methods in cli

This commit is contained in:
Maidul Islam
2023-12-11 16:52:47 -05:00
parent 72ac2c04b8
commit f940f8b79d
+1 -2
View File
@@ -11,7 +11,6 @@ import (
"os/exec" "os/exec"
"runtime" "runtime"
"strings" "strings"
"time"
"github.com/fatih/color" "github.com/fatih/color"
"github.com/rs/zerolog/log" "github.com/rs/zerolog/log"
@@ -21,7 +20,7 @@ func CheckForUpdate() {
if checkEnv := os.Getenv("INFISICAL_DISABLE_UPDATE_CHECK"); checkEnv != "" { if checkEnv := os.Getenv("INFISICAL_DISABLE_UPDATE_CHECK"); checkEnv != "" {
return return
} }
latestVersion, publishedDate, err := getLatestTag("Infisical", "infisical") latestVersion, _, err := getLatestTag("Infisical", "infisical")
if err != nil { if err != nil {
log.Debug().Err(err) log.Debug().Err(err)
// do nothing and continue // do nothing and continue