lint: fix ineffective assignments (SA4005)
Signed-off-by: Moritz Poldrack <moritz@poldrack.dev> Acked-by: Robin Jarry <robin@jarry.cc>
This commit is contained in:
parent
91981574cc
commit
47b258f709
1 changed files with 0 additions and 1 deletions
|
@ -134,7 +134,6 @@ func (c RemoteConfig) ConnectionString() (string, error) {
|
|||
pw := strings.TrimSpace(string(output))
|
||||
u.User = url.UserPassword(u.User.Username(), pw)
|
||||
c.Value = u.String()
|
||||
c.PasswordCmd = ""
|
||||
|
||||
return c.Value, nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue