mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 09:37:17 +00:00
Error on invalid arg type
This commit is contained in:
parent
fecc92e989
commit
1a1ffc8b5f
1 changed files with 2 additions and 0 deletions
|
|
@ -292,6 +292,8 @@ function parseComand({ makiFile, length, pos, localFunctions }) {
|
|||
arg = argValue;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
throw new Error("Invalid argType");
|
||||
}
|
||||
|
||||
command.arguments = [arg];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue