Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running incorrect --help command causes an error #5

Open
bethesque opened this issue Jul 3, 2015 · 0 comments
Open

Running incorrect --help command causes an error #5

bethesque opened this issue Jul 3, 2015 · 0 comments

Comments

@bethesque
Copy link
Collaborator

$ pact-init-consumer create --help
/usr/local/var/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/pact-init-0.0.1/lib/pact/init/consumer.rb:12:in `[]': no implicit conversion of Symbol into Integer (TypeError)
    from /usr/local/var/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/pact-init-0.0.1/lib/pact/init/consumer.rb:12:in `call'
    from /usr/local/var/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/pact-init-0.0.1/lib/pact/init/consumer.rb:8:in `call'
    from /usr/local/var/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/pact-init-0.0.1/lib/pact/init/cli_consumer.rb:15:in `create'
    from /usr/local/var/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
    from /usr/local/var/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
    from /usr/local/var/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
    from /usr/local/var/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
    from /usr/local/var/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/pact-init-0.0.1/bin/pact-init-consumer:5:in `<top (required)>'
    from ./.bin/pact-init-consumer:16:in `load'
    from ./.bin/pact-init-consumer:16:in `<main>'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant