mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 16:46:56 +00:00
Fix: remove mysterious r
:)
This commit is contained in:
@@ -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))
|
||||||
|
Reference in New Issue
Block a user