Merge pull request #230 from smore-lore/master
bpmodify: add argument if it is missing
This commit is contained in:
commit
716137ec38
1 changed files with 8 additions and 1 deletions
|
@ -148,7 +148,14 @@ func processModule(module *parser.Module, moduleName string,
|
|||
}
|
||||
}
|
||||
|
||||
return false, nil
|
||||
prop := parser.Property{Name: *parameter, Value: &parser.List{}}
|
||||
modified, errs = processParameter(prop.Value, *parameter, moduleName, file)
|
||||
|
||||
if modified {
|
||||
module.Properties = append(module.Properties, &prop)
|
||||
}
|
||||
|
||||
return modified, errs
|
||||
}
|
||||
|
||||
func processParameter(value parser.Expression, paramName, moduleName string,
|
||||
|
|
Loading…
Reference in a new issue