bypass unused func

This commit is contained in:
Ruidy 2024-08-06 09:24:05 +02:00
parent 7ebe0975ae
commit e9fcb8dd49
No known key found for this signature in database
GPG key ID: E00F51288CB857CC

View file

@ -100,7 +100,7 @@ func getTokenFromWeb(config *oauth2.Config) *oauth2.Token {
}
// Retrieves a token from a local file.
func tokenFromFile(file string) (*oauth2.Token, error) {
func tokenFromFile(file string) (*oauth2.Token, error) { //nolint:unused
f, err := os.Open(file)
if err != nil {
return nil, err