Skip to content

Commit

Permalink
fix linting failure
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Jun 22, 2024
1 parent 14aa6db commit 00f6b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -1182,7 +1182,7 @@ def previous_tag(current_version, language = nil)
else
minor_version = (version[1].to_i - 1)
tags = @git.tags.map(&:name)
tag = language ? tags.reverse.find { |tag| tag.match?(/selenium-4\.#{minor_version}.*-#{language}/) } : nil
tag = language ? tags.reverse.find { |t| t.match?(/selenium-4\.#{minor_version}.*-#{language}/) } : nil
tag || "selenium-#{[[version[0]], minor_version, '0'].join('.')}"
end
end
Expand Down

0 comments on commit 00f6b7c

Please sign in to comment.