Merge pull request #1267 from jawshooah/perf/keg-text-executable

keg_relocate: left out text_executable? check in #1258
This commit is contained in:
Josh Hagins 2016-10-12 04:54:12 -04:00 committed by GitHub
commit 72f9515e9b

View File

@ -79,6 +79,7 @@ class Keg
stdin_data: files.join("\0")) stdin_data: files.join("\0"))
output.each_line.with_index do |line, i| output.each_line.with_index do |line, i|
next unless line.include?("text") next unless line.include?("text")
next unless files[i].text_executable?
text_files << files[i] text_files << files[i]
end end
end end