Skip to content

Commit

Permalink
Add eve comment at the end of file, not beginning
Browse files Browse the repository at this point in the history
  • Loading branch information
joklek-vinted authored Jul 11, 2024
1 parent 23c8c25 commit 6c1e809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pronto/rails_migrations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def bad_structure_sql_messages

def message(patch, text, level: :error)
path = patch.delta.new_file[:path]
line = patch.added_lines.first
line = patch.added_lines.last
Message.new(path, line, level, text, nil, self.class)
end

Expand Down

0 comments on commit 6c1e809

Please sign in to comment.