From 0a850868dfb85086cba8320cee9dac4657dcae6c Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 9 Oct 2019 12:06:13 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- app/models/commit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models/commit.rb') diff --git a/app/models/commit.rb b/app/models/commit.rb index 60a60f191d6..57069280ef7 100644 --- a/app/models/commit.rb +++ b/app/models/commit.rb @@ -415,7 +415,7 @@ class Commit if entry[:type] == :blob blob = ::Blob.decorate(Gitlab::Git::Blob.new(name: entry[:name]), @project) - blob.image? || blob.video? ? :raw : :blob + blob.image? || blob.video? || blob.audio? ? :raw : :blob else entry[:type] end -- cgit v1.2.1