Error on invalid arg type

This commit is contained in:
Jordan Eldredge 2019-07-05 07:47:10 -07:00
parent 9117b0572a
commit 26009a7cd1

View file

@ -292,6 +292,8 @@ function parseComand({ makiFile, length, pos, localFunctions }) {
arg = argValue;
break;
}
default:
throw new Error("Invalid argType");
}
command.arguments = [arg];