Archived
fixed undefined argument processing
This commit is contained in:
1 parent
ee71f98a54
commit
034e5abf88
1 file changed
+1
-1
+1
-1
@@ -100,7 +100,7 @@ export class Command {
|
||||
this.arguments.map((a, i) => {
|
||||
if (!inputArguments[i] && !a.optional) {
|
||||
throw new MissingArgumentError(a);
|
||||
} else {
|
||||
} else if (inputArguments[i]) {
|
||||
inputArguments[i] = ProcessArgument(
|
||||
inputArguments[i] as string,
|
||||
a.type
|
||||
|
||||
Reference in new issue
Block a user