features/step_definitions: use $stderr instead of STDERR
Fixes c273d91df1 (commitcomment-15251676)
This commit is contained in:
parent
eaade1e49a
commit
87978e79f4
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue