readall: stop using no longer needed 'nostdout'
Since switching from `system` to `Utils.popen_read` we no longer need to suppress Ruby's output of `Syntax OK` to `$stdout`.
This commit is contained in:
parent
a61829da46
commit
30c0d97e5c
@ -17,20 +17,18 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
|
|
||||||
failed = false
|
failed = false
|
||||||
nostdout do
|
workers = (0...Hardware::CPU.cores).map do
|
||||||
workers = (0...Hardware::CPU.cores).map do
|
Thread.new do
|
||||||
Thread.new do
|
begin
|
||||||
begin
|
while rb = ruby_files.pop(true)
|
||||||
while rb = ruby_files.pop(true)
|
# As a side effect, print syntax errors/warnings to `$stderr`.
|
||||||
# As a side effect, print syntax errors/warnings to `$stderr`.
|
failed = true if syntax_errors_or_warnings?(rb)
|
||||||
failed = true if syntax_errors_or_warnings?(rb)
|
|
||||||
end
|
|
||||||
rescue ThreadError # ignore empty queue error
|
|
||||||
end
|
end
|
||||||
|
rescue ThreadError # ignore empty queue error
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
workers.map(&:join)
|
|
||||||
end
|
end
|
||||||
|
workers.each(&:join)
|
||||||
Homebrew.failed = failed
|
Homebrew.failed = failed
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user