From 53afafff134d08cd06dc532485cb75c60525adc2 Mon Sep 17 00:00:00 2001 From: a Date: Wed, 18 Jan 2023 23:18:53 -0600 Subject: [PATCH] remove extra call to get config file --- src/auth/auth.go | 1 - 1 file changed, 1 deletion(-) diff --git a/src/auth/auth.go b/src/auth/auth.go index 3ae5fbf..310d2c0 100644 --- a/src/auth/auth.go +++ b/src/auth/auth.go @@ -27,7 +27,6 @@ var ( func GetClient(ctx *gctx.Context) (*spotify.Client, error) { if config.Values.ClientId == "" || config.Values.ClientSecret == "" || config.Values.Port == "" { - configDir, _ := os.UserConfigDir() fmt.Println("PLEASE WRITE YOUR CONFIG FILE IN", filepath.Join(configDir, "gospt/client.yml")) fmt.Println("GO HERE TO AND MAKE AN APPLICATION: https://developer.spotify.com/dashboard/applications") fmt.Print("\nclient_id: \"idgoesherelikethis\"\nclient_secret: \"secretgoesherelikethis\"\nport:\"8888\"\n\n")