mirror of
https://github.com/writeas/writeas-cli
synced 2025-07-26 23:08:16 +00:00
commands: Remove redundant string() cast on pass
When logging in we had a cast that was made redundant, since `pass` is now a string.
This commit is contained in:
parent
f2bb9f5896
commit
bd378a85ad
@ -429,7 +429,7 @@ func CmdAuth(c *cli.Context) error {
|
||||
} else {
|
||||
log.Info(c, "Logging in...")
|
||||
}
|
||||
err = api.DoLogIn(c, username, string(pass))
|
||||
err = api.DoLogIn(c, username, pass)
|
||||
if err != nil {
|
||||
return cli.NewExitError(fmt.Sprintf("error logging in: %v", err), 1)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user