Skip to content

Commit

Permalink
Fix log typo in task.go (go-gitea#26337)
Browse files Browse the repository at this point in the history
Signed-off-by: cassiozareck <cassiomilczareck@gmail.com>
  • Loading branch information
cassiozareck authored and GiteaBot committed Aug 5, 2023
1 parent 3e9475b commit db71adf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/actions/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ func CreateTaskForRunner(ctx context.Context, runner *ActionRunner) (*ActionTask
if gots, err := jobparser.Parse(job.WorkflowPayload); err != nil {
return nil, false, fmt.Errorf("parse workflow of job %d: %w", job.ID, err)
} else if len(gots) != 1 {
return nil, false, fmt.Errorf("workflow of job %d: not signle workflow", job.ID)
return nil, false, fmt.Errorf("workflow of job %d: not single workflow", job.ID)
} else {
_, workflowJob = gots[0].Job()
}
Expand Down

0 comments on commit db71adf

Please sign in to comment.