Skip to content

Commit

Permalink
fix: ensure the MR log line prints an integer and not a rune (#4078)
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Andersen <[email protected]>
  • Loading branch information
jandersen-plaid authored Dec 19, 2023
1 parent d17cd75 commit 63f9a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/events/project_command_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 63f9a51

Please sign in to comment.