[logaling-commit] logaling/logaling-command [master] Initialize @repository first for load_config_and_merge_options

Back to archive index

null+****@clear***** null+****@clear*****
Wed Feb 8 18:51:58 JST 2012


SHIMADA Koji	2012-02-08 18:51:58 +0900 (Wed, 08 Feb 2012)

  New Revision: 002135031654aa7674ae83a15c56ac8ebea260df

  Log:
    Initialize @repository first for load_config_and_merge_options

  Modified files:
    lib/logaling/command/application.rb

  Modified: lib/logaling/command/application.rb (+1 -1)
===================================================================
--- lib/logaling/command/application.rb    2012-02-08 15:55:13 +0900 (f69948d)
+++ lib/logaling/command/application.rb    2012-02-08 18:51:58 +0900 (63849cb)
@@ -27,10 +27,10 @@ module Logaling::Command
 
     def initialize(*args)
       super
+      @repository = Logaling::Repository.new(LOGALING_HOME)
       @config = load_config_and_merge_options
       @source_language = @config["source-language"]
       @target_language = @config["target-language"]
-      @repository = Logaling::Repository.new(LOGALING_HOME)
     end
 
     map '-a' => :add,




More information about the logaling-commit mailing list
Back to archive index