diff options
author | Ken <ken.ding@mail.com> | 2018-02-20 19:59:04 +0300 |
---|---|---|
committer | Ken <ken.ding@mail.com> | 2018-02-20 19:59:04 +0300 |
commit | ed0a029d53c5a62b49027a0b7192b97a0513787f (patch) | |
tree | b15ca1ab18e1e2a08102a713f6b15d4fac4a0d23 /app/models/blob.rb | |
parent | 0e2ba2326ca3ff499138cabb563a159b48631771 (diff) |
26039 - update github-linguist to 5.3.3 version
26039 - add merge request id
26039 change due to lingust source file updates
Diffstat (limited to 'app/models/blob.rb')
-rw-r--r-- | app/models/blob.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/blob.rb b/app/models/blob.rb index 19ad110db58..71c974b4c09 100644 --- a/app/models/blob.rb +++ b/app/models/blob.rb @@ -160,7 +160,7 @@ class Blob < SimpleDelegator if stored_externally? if rich_viewer rich_viewer.binary? - elsif Linguist::Language.find_by_filename(name).any? + elsif Linguist::Language.find_by_extension(name).any? false elsif _mime_type _mime_type.binary? |