diff --git a/auth/file_source.go b/auth/file_source.go index 11e73250..9223d1dc 100644 --- a/auth/file_source.go +++ b/auth/file_source.go @@ -47,7 +47,7 @@ func ReadFile(path string) ([]byte, bool, error) { func ReadToken(path string) (*oauth2.Token, bool, error) { content, exists, err := ReadFile(path) - if err != nil { + if err != nil || exists == false { return nil, exists, err }