Skip to content

Commit

Permalink
Use File.readlines instead of IO.readlines
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt authored and eregon committed Mar 5, 2023
1 parent dc2eb26 commit 1346122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mspec/runner/mspec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def self.delete_tag(tag)
desc = tag.escape(tag.description)
file = tags_file
if File.exist? file
lines = IO.readlines(file)
lines = File.readlines(file)
File.open(file, "w:utf-8") do |f|
lines.each do |line|
line = line.chomp
Expand Down

0 comments on commit 1346122

Please sign in to comment.