Commit 1f45f7bb authored by Jeffrey Morgan's avatar Jeffrey Morgan
Browse files

convert commands to uppercase in parser

parent 2e6c64a8
......@@ -38,7 +38,7 @@ func Parse(reader io.Reader) ([]Command, error) {
}
command := Command{}
switch fields[0] {
switch strings.ToUpper(fields[0]) {
case "FROM":
command.Name = "model"
command.Arg = fields[1]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment