Skip to content

Commit 240f545

Browse files
authored
Return the original parsing error from checktest
Fixes #18
1 parent 7872400 commit 240f545

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

check/checktest/checktest.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,8 @@ func compile(ctx context.Context, dirPaths []string, filePaths []string) ([]desc
331331
},
332332
),
333333
Reporter: reporter.NewReporter(
334-
func(reporter.ErrorWithPos) error {
335-
return nil
334+
func(err reporter.ErrorWithPos) error {
335+
return err
336336
},
337337
func(errorWithPos reporter.ErrorWithPos) {
338338
warningErrorsWithPos = append(warningErrorsWithPos, errorWithPos)

0 commit comments

Comments
 (0)