diff options
author | micael.bergeron <micael.bergeron@solutionstlm.com> | 2017-09-04 22:32:57 +0300 |
---|---|---|
committer | micael.bergeron <micael.bergeron@solutionstlm.com> | 2017-09-06 16:01:53 +0300 |
commit | dbaed90c8d3dffb2dd970f1621f551dd322db5ee (patch) | |
tree | 61f3a92dff29e8229a224da5e864f5504bf366ab /lib/gitlab/git/blob.rb | |
parent | 5625b0e4534de834235ce5dbeef89a5e976b698c (diff) |
fix refactoring error with Blob.binary?
remove some lint
Diffstat (limited to 'lib/gitlab/git/blob.rb')
-rw-r--r-- | lib/gitlab/git/blob.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/gitlab/git/blob.rb b/lib/gitlab/git/blob.rb index 2e6edb8be0d..e5391b8bf8a 100644 --- a/lib/gitlab/git/blob.rb +++ b/lib/gitlab/git/blob.rb @@ -57,6 +57,10 @@ module Gitlab end end + def binary?(data) + EncodingHelper.libgit2_binary?(data) + end + private # Recursive search of blob id by path @@ -161,10 +165,6 @@ module Gitlab end end end - - def binary?(data) - EncodingHelper.libgit2_binary?(data) - end end def initialize(options) |