Project

General

Profile

Actions

Bug #32861

closed

hammer full-help fails if apidoc entry is not available

Added by Nadja Heitmann over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Team Backlog:
Found in Releases:
In Kanboard:

Description

`hammer full-help` fails if apidoc entry is not available, e.g. if hammer-cli-foreman version does not match the current Foreman version.

Error:
NoMethodError (undefined method `[]' for nil:NilClass):
/home/vagrant/hammer-cli-foreman/lib/hammer_cli_foreman/commands.rb:297:in `help'
home/vagrant/hammer-cli/lib/hammer_cli/full_help.rb:26:in `print_help'`

Actions

Also available in: Atom PDF