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

View File

@ -48,7 +48,7 @@ func main() {
debug = false debug = false
all = false all = false
singlePackageMode = false singlePackageMode = false
fileMode = false fileMode = false
) )
if parameter := g.Request.GetParameter(); parameter != "" { if parameter := g.Request.GetParameter(); parameter != "" {
for _, param := range strings.Split(parameter, ",") { for _, param := range strings.Split(parameter, ",") {
@ -135,7 +135,7 @@ func main() {
} }
if fileMode { 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) encoder := NewGenericTemplateBasedEncoder(templateDir, file, debug, destinationDir)
for _, tmpl := range encoder.Files() { for _, tmpl := range encoder.Files() {
concatOrAppend(tmpl) concatOrAppend(tmpl)