Actions
Bug #12784
closeddefaults list fails when there's no defaults file created
Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer core
Target version:
Difficulty:
Triaged:
Pull request:
Team Backlog:
Description
hammer -d defaults list NoMethodError (undefined method `map' for nil:NilClass): /root/hammer/hammer-cli/lib/hammer_cli/defaults_commands.rb:59:in `execute' /usr/local/rvm/gems/ruby-2.0.0-p643/gems/clamp-1.0.0/lib/clamp/command.rb:68:in `run' /root/hammer/hammer-cli/lib/hammer_cli/abstract.rb:22:in `run' /usr/local/rvm/gems/ruby-2.0.0-p643/gems/clamp-1.0.0/lib/clamp/subcommand/execution.rb:11:in `execute' /usr/local/rvm/gems/ruby-2.0.0-p643/gems/clamp-1.0.0/lib/clamp/command.rb:68:in `run' /root/hammer/hammer-cli/lib/hammer_cli/abstract.rb:22:in `run' /usr/local/rvm/gems/ruby-2.0.0-p643/gems/clamp-1.0.0/lib/clamp/subcommand/execution.rb:11:in `execute' /usr/local/rvm/gems/ruby-2.0.0-p643/gems/clamp-1.0.0/lib/clamp/command.rb:68:in `run' /root/hammer/hammer-cli/lib/hammer_cli/abstract.rb:22:in `run' /usr/local/rvm/gems/ruby-2.0.0-p643/gems/clamp-1.0.0/lib/clamp/command.rb:133:in `run' ./bin/hammer:125:in `<main>'
Actions