1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-30 10:11:23 +02:00

Merge pull request #1666 from MirrorZ/master

Invoke repoAdd on repo add command
This commit is contained in:
Brad Rydzewski 2016-06-08 00:25:24 -07:00
commit ecc2728d9f

View File

@ -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)
}
},