diff --git a/drone/repo_add.go b/drone/repo_add.go index e879f5505..d859fa8c0 100644 --- a/drone/repo_add.go +++ b/drone/repo_add.go @@ -11,7 +11,7 @@ var repoAddCmd = cli.Command{ Name: "add", Usage: "add a repository", Action: func(c *cli.Context) { - if err := repoRemove(c); err != nil { + if err := repoAdd(c); err != nil { log.Fatalln(err) } },