Update ESLint and RuboCop in Code Climate (#12534)
This commit is contained in:
parent
27d5d02925
commit
6be16d02cb
6 changed files with 13 additions and 6 deletions
|
@ -287,7 +287,7 @@ class MediaAttachment < ApplicationRecord
|
|||
width: width,
|
||||
height: height,
|
||||
size: "#{width}x#{height}",
|
||||
aspect: width.to_f / height.to_f,
|
||||
aspect: width.to_f / height,
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue