Fixing a lot of string formatting issues with regards to:
* Improper format specifier (e.g. %s for bools or %s for ints) * More or less parameters than format specifiers * Not calling a formatting function when it should have (e.g. Error() instead of Errorf())
This commit is contained in:
@@ -445,7 +445,7 @@ func (p *Parser) parse() ([]Requirement, error) {
|
||||
case IdentifierToken:
|
||||
r, err := p.parseRequirement()
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("unable to parse requiremnt: ", err)
|
||||
return nil, fmt.Errorf("unable to parse requiremnt: %v", err)
|
||||
}
|
||||
requirements = append(requirements, *r)
|
||||
t, l := p.consume(Values)
|
||||
|
Reference in New Issue
Block a user