Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

remove unnecessary variable

mngshm0b7f73950c72
diff --git a/cli/main.go b/cli/main.go
index e26a745799..990d751b01 100644
--- a/cli/main.go
+++ b/cli/main.go
@@ -119,8 +119,6 @@ func initConfig(cliConfigDir string) {
// GetCLIConfigDir returns the path to the .ente-cli folder and creates it if it doesn't exist.
func GetCLIConfigDir() (string, error) {
var configDir = os.Getenv("ENTE_CLI_CONFIG_DIR")
- // For backward compatibility
- var oldConfigPath = os.Getenv("ENTE_CLI_CONFIG_PATH")
if configDir == "" {
// for backward compatibility, check for ENTE_CLI_CONFIG_PATH