Fixed something maybe
This commit is contained in:
Binary file not shown.
@@ -41,7 +41,7 @@ module CliGen
|
||||
{% format = format.resolve if format.is_a? Path %}
|
||||
{% raise "ERROR : CliGen::Command.argument(#{name}) : Provided format must be a RegexLiteral" unless format.is_a? RegexLiteral %}
|
||||
{% end %}
|
||||
{% if type.resolve <= Array && format.nil? %}
|
||||
{% if type.resolve <= Array %}
|
||||
{% elem = type.type_vars.first %}
|
||||
{% unless elem == Int32 %}
|
||||
{% if format.nil? && options.nil? %}
|
||||
|
||||
Reference in New Issue
Block a user