(dst []CompileValidationError, errorType string, err error)
| 38 | var compileWorkflowProcessorLog = logger.New("cli:compile_workflow_processor") |
| 39 | |
| 40 | func appendValidationErrors(dst []CompileValidationError, errorType string, err error) []CompileValidationError { |
| 41 | for _, message := range workflow.ExpandErrorMessages(err) { |
| 42 | dst = append(dst, CompileValidationError{ |
| 43 | Type: errorType, |
| 44 | Message: message, |
| 45 | }) |
| 46 | } |
| 47 | return dst |
| 48 | } |
| 49 | |
| 50 | // compileWorkflowFileResult represents the result of compiling a single workflow file |
| 51 | type compileWorkflowFileResult struct { |
no test coverage detected