Update ESLint and RuboCop in Code Climate (#12534)

This commit is contained in:
Yamagishi Kazutoshi
2019-12-03 02:25:43 +09:00
committed by Eugen Rochko
parent 27d5d02925
commit 6be16d02cb
6 changed files with 13 additions and 6 deletions

View File

@ -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