lib/spec-i18n/command_line/main.rb in rspec-i18n-1.1.0 vs lib/spec-i18n/command_line/main.rb in rspec-i18n-1.2.0
- old
+ new
@@ -1,6 +1,5 @@
-require 'cucumber/formatter/color_io'
require 'spec-i18n/command_line/options'
require 'spec-i18n/platform'
module SpecI18n
module CommandLine
@@ -9,14 +8,10 @@
new(args).execute!
end
def initialize(args, out_stream = STDOUT, error_stream = STDERR)
@args = args
- if SpecI18n::WINDOWS
- @out_stream = out_stream == STDOUT ? Formatter::ColorIO.new(Kernel, STDOUT) : out_stream
- else
- @out_stream = out_stream
- end
+ @out_stream = out_stream
@error_stream = error_stream
end
def execute!
options = Options.new(@out_stream, @error_stream, @args)
\ No newline at end of file