lib/nanoc/cli.rb in nanoc-4.2.1 vs lib/nanoc/cli.rb in nanoc-4.2.2
- old
+ new
@@ -201,10 +201,10 @@
# @return [Boolean] true if UTF-8 support is present, false if not
def self.enable_utf8?(io)
return true unless io.tty?
- %w( LC_ALL LC_CTYPE LANG ).any? { |e| ENV[e] =~ /UTF/i }
+ %w(LC_ALL LC_CTYPE LANG).any? { |e| ENV[e] =~ /UTF/i }
end
# @return [Boolean] true if color support is present, false if not
def self.enable_ansi_colors?(io)
unless io.tty?