fix: ensure the MR log line prints an integer and not a rune (#4078)

Signed-off-by: Jack Andersen <jandersen@plaid.com>
This commit is contained in:
jandersen-plaid
2023-12-19 14:12:39 -08:00
committed by GitHub
parent d17cd75ee7
commit 63f9a519b7

View File

@@ -374,7 +374,7 @@ func (p *DefaultProjectCommandBuilder) buildAllCommandsByCfg(ctx *command.Contex
if err != nil {
return nil, err
}
ctx.Log.Info("%d projects are changed on MR %q based on their when_modified config", len(matchingProjects), ctx.Pull.Num)
ctx.Log.Info("%d projects are changed on MR %d based on their when_modified config", len(matchingProjects), ctx.Pull.Num)
if len(matchingProjects) == 0 {
ctx.Log.Info("skipping repo clone since no project was modified")
return []command.ProjectContext{}, nil