convert commands to uppercase in parser
This commit is contained in:
parent
2e6c64a8f9
commit
1f45f7bb52
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ func Parse(reader io.Reader) ([]Command, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
command := Command{}
|
command := Command{}
|
||||||
switch fields[0] {
|
switch strings.ToUpper(fields[0]) {
|
||||||
case "FROM":
|
case "FROM":
|
||||||
command.Name = "model"
|
command.Name = "model"
|
||||||
command.Arg = fields[1]
|
command.Arg = fields[1]
|
||||||
|
|
Loading…
Reference in a new issue