Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

remove unused methods in cli

Maidul Islamf940f8b79db6
diff --git a/cli/packages/util/check-for-update.go b/cli/packages/util/check-for-update.go
index ad07cb1d48..f3aca27764 100644
--- a/cli/packages/util/check-for-update.go
+++ b/cli/packages/util/check-for-update.go
@@ -11,7 +11,6 @@ import (
"os/exec"
"runtime"
"strings"
- "time"
"github.com/fatih/color"
"github.com/rs/zerolog/log"
@@ -21,7 +20,7 @@ func CheckForUpdate() {
if checkEnv := os.Getenv("INFISICAL_DISABLE_UPDATE_CHECK"); checkEnv != "" {
return
}
- latestVersion, publishedDate, err := getLatestTag("Infisical", "infisical")
+ latestVersion, _, err := getLatestTag("Infisical", "infisical")
if err != nil {
log.Debug().Err(err)
// do nothing and continue