lib/my_help/cli.rb in my_help-1.2.4p1 vs lib/my_help/cli.rb in my_help-1.2.4

- old
+ new

@@ -29,16 +29,9 @@ map "-a" => :add_defaults desc "add_defaults", "add defaults org files" def add_defaults puts "Adding defaults org files in .my_help" config = get_config - if config[:template_dir] != - File.expand_path("../templates", __dir__) - puts "inconsistency for :template_dir" - config.configure(:template_dir=> - File.expand_path("../templates", __dir__)) - config.save_config - end help_dir = options["help_dir"] || config[:local_help_dir] p current_orgs = Dir.glob(File.join(help_dir, "*.org")). map!{|f| File.basename(f)} new_orgs = Dir.glob(File.join(config[:template_dir],'*.org')) new_orgs.each do |new_org|