chore(aa): rename constructor function for consistency.
This commit is contained in:
parent
b0f6f15a9e
commit
fe983132cd
2 changed files with 2 additions and 2 deletions
|
|
@ -90,7 +90,7 @@ func parseLineRules(isPreamble bool, input string) (string, Rules, error) {
|
|||
input = strings.Replace(input, line, "", 1)
|
||||
|
||||
case strings.HasPrefix(tmp, VARIABLE.Tok()) && isPreamble:
|
||||
r, err = newVariableFromRule(parseRule(line))
|
||||
r, err = newVariable(parseRule(line))
|
||||
if err != nil {
|
||||
return "", nil, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue