features/step_definitions: use $stderr instead of STDERR

Fixes c273d91df1 (commitcomment-15251676)
This commit is contained in:
Parker Moore 2016-01-04 12:36:04 -08:00
parent eaade1e49a
commit 87978e79f4
1 changed files with 2 additions and 2 deletions

View File

@ -150,14 +150,14 @@ end
When /^I run jekyll(.*)$/ do |args| When /^I run jekyll(.*)$/ do |args|
status = run_jekyll(args) status = run_jekyll(args)
if args.include?("--verbose") || ENV['DEBUG'] if args.include?("--verbose") || ENV['DEBUG']
STDERR.puts "\n#{jekyll_run_output}\n" $stderr.puts "\n#{jekyll_run_output}\n"
end end
end end
When /^I run bundle(.*)$/ do |args| When /^I run bundle(.*)$/ do |args|
status = run_bundle(args) status = run_bundle(args)
if args.include?("--verbose") || ENV['DEBUG'] if args.include?("--verbose") || ENV['DEBUG']
STDERR.puts "\n#{jekyll_run_output}\n" $stderr.puts "\n#{jekyll_run_output}\n"
end end
end end