Fixed errcheck linter complaints

This commit is contained in:
2019-06-05 15:45:54 +09:00
parent 190a85fe08
commit 940e949a30
15 changed files with 112 additions and 33 deletions

View File

@ -33,7 +33,11 @@ func main() {
user.ForceSetNick(user.Nick)
if user.Email != "" {
user.SetEmail(user.Email)
err := user.SetEmail(user.Email)
if err != nil {
color.Red(err.Error())
}
}
if user.Accounts.Google.ID != "" {