mirror of
https://gitea.com/gitea/tea.git
synced 2024-06-03 10:11:22 +05:30
lint
This commit is contained in:
parent
0674a1c6f4
commit
0bdd95adbc
|
@ -72,7 +72,7 @@ func runRepoClone(cmd *cli.Context) error {
|
|||
if url.Host != "" {
|
||||
login = config.GetLoginByHost(url.Host)
|
||||
if login == nil {
|
||||
return fmt.Errorf("No login configured matching host '%s', run `tea login add` first.", url.Host)
|
||||
return fmt.Errorf("No login configured matching host '%s', run `tea login add` first", url.Host)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue