fixes intermittent error reporting
This commit is contained in:
parent
0a47157c26
commit
6949b76e12
@ -210,10 +210,8 @@ func (e *GenericTemplateBasedEncoder) Files() []*plugin_go.CodeGeneratorResponse
|
|||||||
case f := <-resultChan:
|
case f := <-resultChan:
|
||||||
files = append(files, f)
|
files = append(files, f)
|
||||||
case err = <-errChan:
|
case err = <-errChan:
|
||||||
}
|
|
||||||
}
|
|
||||||
if err != nil {
|
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return files
|
return files
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user