fix: add missing punctuation to error report (#2752) (#2753)

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
Josh Soref
2025-05-23 02:42:27 -04:00
committed by GitHub
parent bd4bc99ec4
commit b5469ac4ca

View File

@@ -45,7 +45,7 @@ func readActionImpl(ctx context.Context, step *model.Step, actionDir string, act
allErrors := []error{}
addError := func(fileName string, err error) {
if err != nil {
allErrors = append(allErrors, fmt.Errorf("failed to read '%s' from action '%s' with path '%s' of step %w", fileName, step.String(), actionPath, err))
allErrors = append(allErrors, fmt.Errorf("failed to read '%s' from action '%s' with path '%s' of step: %w", fileName, step.String(), actionPath, err))
} else {
// One successful read, clear error state
allErrors = nil