Project

General

Profile

Actions

Bug #12784

closed

defaults list fails when there's no defaults file created

Added by Tomáš Strachota almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer core
Target version:
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

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

Also available in: Atom PDF