File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -528,9 +528,9 @@ function generateValidationJobs(
528528 specDocument : yaml . Document ,
529529 checkSpecification : Specification ,
530530 checkName : string ,
531- ) : Record < string , any > {
531+ ) {
532532 if ( checkSpecification . validationJobs === undefined ) {
533- return { } ;
533+ return { validationJobs : { } , workflowInputs : { } } ;
534534 }
535535
536536 const validationJobs : Record < string , any > = { } ;
@@ -594,11 +594,8 @@ function main(): void {
594594 specDocument ,
595595 checkSpecification ,
596596 ) ;
597- const { validationJobs, validationJobInputs } = generateValidationJobs (
598- specDocument ,
599- checkSpecification ,
600- checkName ,
601- ) ;
597+ const { validationJobs, workflowInputs : validationJobInputs } =
598+ generateValidationJobs ( specDocument , checkSpecification , checkName ) ;
602599 const combinedInputs = { ...workflowInputs , ...validationJobInputs } ;
603600
604601 // If this check belongs to a named collection, record it.
You can’t perform that action at this time.
0 commit comments