null+****@clear*****
null+****@clear*****
Fri Mar 2 18:48:39 JST 2012
SUZUKI Miho 2012-03-02 18:48:39 +0900 (Fri, 02 Mar 2012) New Revision: 83fa81762c75d8d3255b089937523030499808a1 Log: remove unnecessary process Modified files: lib/logaling/command/application.rb Modified: lib/logaling/command/application.rb (+0 -2) =================================================================== --- lib/logaling/command/application.rb 2012-03-02 17:31:17 +0900 (2c06bc9) +++ lib/logaling/command/application.rb 2012-03-02 18:48:39 +0900 (a09878e) @@ -84,7 +84,6 @@ module Logaling::Command desc 'import', 'Import external glossary' method_option "list", type: :boolean, default: false def import(external_glossary=nil) - check_logaling_home_exists require "logaling/external_glossary" Logaling::ExternalGlossary.load if options["list"] @@ -104,7 +103,6 @@ module Logaling::Command def register @config.check_required_option("glossary" => "input glossary name '-g <glossary name>'") raise Logaling::CommandFailed, "Try 'loga new' first." unless File.exist?(@dotfile_path) - check_logaling_home_exists @repository.register(@dotfile_path, @config.glossary) @repository.index