Skip to content

Commit 01e3c6a

Browse files
committed
fix lint
1 parent e48ce1d commit 01e3c6a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/integration/actions_schedule_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
package integration
55

66
import (
7-
"fmt"
87
"net/url"
98
"strconv"
109
"strings"
@@ -124,7 +123,7 @@ jobs:
124123

125124
// merge and push
126125
dstPath := t.TempDir()
127-
u.Path = fmt.Sprintf("%s.git", repo.FullName())
126+
u.Path = repo.FullName() + ".git"
128127
u.User = url.UserPassword(repo.OwnerName, userPassword)
129128
doGitClone(dstPath, u)(t)
130129
doGitMerge(dstPath, "origin/"+newBranchName)(t)
@@ -284,7 +283,7 @@ jobs:
284283
`
285284

286285
dstPath := t.TempDir()
287-
u.Path = fmt.Sprintf("%s.git", repo.FullName())
286+
u.Path = repo.FullName() + ".git"
288287
u.User = url.UserPassword(repo.OwnerName, userPassword)
289288
doGitClone(dstPath, u)(t)
290289
doGitCheckoutWriteFileCommit(localGitAddCommitOptions{

0 commit comments

Comments
 (0)