Fixed something maybe

This commit is contained in:
Tristan Ancelet
2026-08-14 14:00:31 -05:00
parent d3ca70ea9e
commit b05f49c2e8
2 changed files with 1 additions and 1 deletions
Binary file not shown.
+1 -1
View File
@@ -41,7 +41,7 @@ module CliGen
{% format = format.resolve if format.is_a? Path %} {% 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 %} {% raise "ERROR : CliGen::Command.argument(#{name}) : Provided format must be a RegexLiteral" unless format.is_a? RegexLiteral %}
{% end %} {% end %}
{% if type.resolve <= Array && format.nil? %} {% if type.resolve <= Array %}
{% elem = type.type_vars.first %} {% elem = type.type_vars.first %}
{% unless elem == Int32 %} {% unless elem == Int32 %}
{% if format.nil? && options.nil? %} {% if format.nil? && options.nil? %}