mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 17:27:16 +00:00
remove unused methods in cli
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user