1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-24 10:07:21 +02:00

Fix: remove mysterious r

:)
This commit is contained in:
Janez Troha 2014-02-11 20:18:19 +01:00
parent f90c099e68
commit c4a040c933

View File

@ -94,7 +94,7 @@ func (r *Repo) Commands() []string {
branch := r.Branch branch := r.Branch
if len(branch) == 0 { if len(branch) == 0 {
branch = "master" branch = "master"
}r }
cmds := []string{} cmds := []string{}
cmds = append(cmds, fmt.Sprintf("git clone --recursive --branch=%s %s %s", branch, r.Path, r.Dir)) cmds = append(cmds, fmt.Sprintf("git clone --recursive --branch=%s %s %s", branch, r.Path, r.Dir))