Fix double negatives in migration errors
This commit is contained in:
parent
06c36a74c2
commit
a00294eff9
1 changed files with 2 additions and 2 deletions
|
|
@ -122,11 +122,11 @@ func (m MultiAccount) Do(c *config.Config) error {
|
|||
}
|
||||
|
||||
if err := migrateConfig(c, hostname, username); err != nil {
|
||||
return CowardlyRefusalError{fmt.Errorf("couldn't not migrate config for %q: %w", hostname, err)}
|
||||
return CowardlyRefusalError{fmt.Errorf("couldn't migrate config for %q: %w", hostname, err)}
|
||||
}
|
||||
|
||||
if err := migrateToken(hostname, username, tokenSource); err != nil {
|
||||
return CowardlyRefusalError{fmt.Errorf("couldn't not migrate oauth token for %q: %w", hostname, err)}
|
||||
return CowardlyRefusalError{fmt.Errorf("couldn't migrate oauth token for %q: %w", hostname, err)}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue