Skip to content

Commit

Permalink
Merge ff2e8a6 into 684f81b
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdefreyne committed Jul 24, 2016
2 parents 684f81b + ff2e8a6 commit e28b197
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions lib/nanoc/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@
exit 1
end

if Nanoc.on_windows?
begin
require 'Win32/Console/ANSI'
rescue LoadError
end
end

# @api private
module Nanoc::CLI
module Commands
Expand Down Expand Up @@ -212,10 +205,6 @@ def self.enable_ansi_colors?(io)
return false
end

if Nanoc.on_windows?
return defined?(::Win32::Console::ANSI)
end

true
end

Expand Down

0 comments on commit e28b197

Please sign in to comment.