diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2019-12-03 02:25:43 +0900 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-02-21 04:03:46 -0600 |
commit | 28073bbcd6010de077e528f0447b35e51905ed23 (patch) | |
tree | d4751866764c114f4a3030aae835922c6b8a0570 /app | |
parent | 924c2c0880a96d8e502427e0b697148916c021f1 (diff) |
port tootsuite#12534 to monsterfork: Update ESLint and RuboCop in Code Climate
Diffstat (limited to 'app')
-rw-r--r-- | app/models/media_attachment.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb index 502ebb0b5..36282d010 100644 --- a/app/models/media_attachment.rb +++ b/app/models/media_attachment.rb @@ -325,7 +325,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 |