Error on invalid arg type

This commit is contained in:
Jordan Eldredge 2019-07-05 07:47:10 -07:00
parent fecc92e989
commit 1a1ffc8b5f

View file

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