Commit 9bc2d909 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[RuboCop] Useless assignment to variable

parent fd07ff80
...@@ -80,8 +80,8 @@ module Pod ...@@ -80,8 +80,8 @@ module Pod
def self.popen3(bin, command, stdout, stderr) def self.popen3(bin, command, stdout, stderr)
require 'open3' require 'open3'
Open3.popen3(bin, *command) do |i, o, e, t| Open3.popen3(bin, *command) do |i, o, e, t|
out_reader = Thread.new { while s = o.gets; stdout << s; end } Thread.new { while s = o.gets; stdout << s; end }
err_reader = Thread.new { while s = e.gets; stderr << s; end } Thread.new { while s = e.gets; stderr << s; end }
i.close i.close
t.value t.value
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment