Update ESLint and RuboCop in Code Climate (#12534)
This commit is contained in:
committed by
Eugen Rochko
parent
27d5d02925
commit
6be16d02cb
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user