Merge pull request #1013 from cli/auth-complete-fix

Fix showing "Authentication complete" notice after OAuth dance
This commit is contained in:
Mislav Marohnić 2020-06-02 10:35:07 +02:00 committed by GitHub
commit c71dcd3441
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,6 +110,8 @@ func setupConfigFile(filename string) (Config, error) {
return nil, err
}
AuthFlowComplete()
// TODO cleaner error handling? this "should" always work given that we /just/ wrote the file...
return ParseConfig(filename)
}