mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
DEV: Apply syntax_tree formatting to script/*
This commit is contained in:
@ -39,9 +39,7 @@ module ImportScripts::PhpBB3
|
||||
def find_last_row(rows)
|
||||
last_index = rows.size - 1
|
||||
|
||||
rows.each_with_index do |row, index|
|
||||
return row if index == last_index
|
||||
end
|
||||
rows.each_with_index { |row, index| return row if index == last_index }
|
||||
|
||||
nil
|
||||
end
|
||||
|
Reference in New Issue
Block a user