pkg/template_engine/template_engine.go
Method TemplateEngine.parseTemplateFile
has 7 return statements (exceeds 4 allowed). Open
Open
func (e *TemplateEngine) parseTemplateFile(path, destination string) error {
// Load the template file
b, err := ioutil.ReadFile(path)
if err != nil {
return err