This commit is contained in:
Mike Lee 2019-03-29 19:24:47 -04:00
parent 1d71729a7c
commit e4d1fef8fe

View File

@ -135,7 +135,7 @@ func main() {
}
if fileMode {
if s := file.GetService(); s != nil && len(s) > 0{
if s := file.GetService(); s != nil && len(s) > 0 {
encoder := NewGenericTemplateBasedEncoder(templateDir, file, debug, destinationDir)
for _, tmpl := range encoder.Files() {
concatOrAppend(tmpl)