Skip to content

Commit 21bfd76

Browse files
committed
fix
1 parent 20d0e59 commit 21bfd76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/gitter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ func (dg DefaultGitter) GetBuild(repo string) (buildnum string, err error) {
242242
}
243243

244244
func (dg DefaultGitter) FetchTags(repo string) (err error) {
245-
err = exec.Command(dg.Git, "-C", repo, "fetch", "--tags").Run() /* #nosec G204 */
245+
_, err = dg.Exec("-C", repo, "fetch", "--tags") /* #nosec G204 */
246246
return
247247
}
248248

0 commit comments

Comments
 (0)