Some bugs.
tvw opened this issue · comments
Just using the example I found some bugs:
$ bin/example -l --port
Returns 80, the default, which is a bug, because it should return an error because of the missing parameter for --port
.
$ bin/example -l --port xx
Returns 80, the default, which is a bug, because it should return an error because the given parameter for --port
is not an integer as it is defined.
Similar bugs exist, when having no defaults defined.
vendor/bundle/ruby/2.7.0/gems/slop-4.9.1/lib/slop/types.rb:54: warning: deprecated Object#=~ is called on Integer; it always returns nil