Skip to content

Commit

Permalink
fix validation output (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
utahta authored Aug 5, 2024
1 parent 9f5212e commit 73eadce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validator/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (v *Validator) Validate(ctx context.Context, file *source.File, opts ...Val
}
r := resolver.New(protos, resolver.ImportPathOption(v.importPaths...))
result, err := r.Resolve()
return v.ToValidationOutputByResolverResult(result, err)
return v.ToValidationOutputByResolverResult(result, err, opts...)
}

func (v *Validator) ToValidationOutputByResolverResult(result *resolver.Result, err error, opts ...ValidatorOption) []*ValidationOutput {
Expand Down

0 comments on commit 73eadce

Please sign in to comment.