Skip to content

Commit 5b8f8fc

Browse files
committed
Use File.open explicitly.
1 parent 6497ba4 commit 5b8f8fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rake/file_list.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def egrep(pattern, *options)
294294
matched = 0
295295
each do |fn|
296296
begin
297-
open(fn, "r", *options) do |inf|
297+
File.open(fn, "r", *options) do |inf|
298298
count = 0
299299
inf.each do |line|
300300
count += 1

0 commit comments

Comments
 (0)