Project

General

Profile

Bug #32861

hammer full-help fails if apidoc entry is not available

Added by Nadja Heitmann 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
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'`

Associated revisions

Revision 7c662269 (diff)
Added by Nadja Heitmann 4 months ago

Fixes #32861 - prevent full-help from failure if apidoc not available (#574)

History

#1 Updated by Anonymous 4 months ago

  • Status changed from New to Closed

Also available in: Atom PDF