Navigation Menu

Skip to content

Commit

Permalink
analyzer: Fix a bug that --no-color option is ignored
Browse files Browse the repository at this point in the history
Reported by Gurunavi, Inc. Thanks!!!
  • Loading branch information
kou committed Apr 15, 2015
1 parent 1065021 commit a3246a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/groonga/query-log/analyzer/reporter/console.rb
Expand Up @@ -137,7 +137,7 @@ def initialize(statistics)

def apply_options(options)
super
@color = options[:color] || @color
@color = options[:color] unless options[:color].nil?
end

def report_statistics
Expand Down

0 comments on commit a3246a6

Please sign in to comment.