mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-27 04:11:03 +00:00
Invoke repoAdd on repo add command
This commit is contained in:
parent
9ab3ccccff
commit
4384121586
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ var repoAddCmd = cli.Command{
|
||||||
Name: "add",
|
Name: "add",
|
||||||
Usage: "add a repository",
|
Usage: "add a repository",
|
||||||
Action: func(c *cli.Context) {
|
Action: func(c *cli.Context) {
|
||||||
if err := repoRemove(c); err != nil {
|
if err := repoAdd(c); err != nil {
|
||||||
log.Fatalln(err)
|
log.Fatalln(err)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue