Skip to content

Commit 1dccfab

Browse files
authored
chore(internal/actions/cmd/changefinder): fix vet (#12989)
* Fix non-constant format string in call error. fixes: #12921
1 parent 4e8c9d5 commit 1dccfab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • internal/actions/cmd/changefinder

internal/actions/cmd/changefinder/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ func gitFilesChanges(dir string) ([]string, error) {
167167
}
168168

169169
c := exec.Command("git", args...)
170-
logg.Printf(c.String())
170+
logg.Printf("%s", c.String())
171171

172172
c.Dir = dir
173173
b, err := c.Output()
@@ -181,7 +181,7 @@ func gitFilesChanges(dir string) ([]string, error) {
181181

182182
func touchModule(root, mod string) error {
183183
c := exec.Command("echo")
184-
logg.Printf(c.String())
184+
logg.Printf("%s", c.String())
185185

186186
f, err := os.OpenFile(path.Join(root, mod, "CHANGES.md"), os.O_APPEND|os.O_WRONLY, 0644)
187187
if err != nil {

0 commit comments

Comments
 (0)