diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-09-19 01:25:23 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-09-19 01:29:32 +0800 |
commit | 6a4ee9aa7140862075cafae1ddebd133eec52b5b (patch) | |
tree | 9890bb5c906a0d6e207149ae5fe1df84d213fa7c /config | |
parent | 9ae92b8caa6c11d8860f86b7d6378062215d1b72 (diff) | |
download | gitlab-ce-6a4ee9aa7140862075cafae1ddebd133eec52b5b.tar.gz |
Allow simple ivar ||= form. Update accordingly
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/rugged_use_gitlab_git_attributes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/rugged_use_gitlab_git_attributes.rb b/config/initializers/rugged_use_gitlab_git_attributes.rb index b839fd177af..abfa2c354cd 100644 --- a/config/initializers/rugged_use_gitlab_git_attributes.rb +++ b/config/initializers/rugged_use_gitlab_git_attributes.rb @@ -11,10 +11,10 @@ # anyway, and there is no great efficiency gain from just fetching the listed # attributes with our implementation, so we ignore the additional arguments. # -# rubocop:disable Cop/ModuleWithInstanceVariables module Rugged class Repository module UseGitlabGitAttributes + # rubocop:disable Cop/ModuleWithInstanceVariables def fetch_attributes(name, *) @attributes ||= Gitlab::Git::Attributes.new(path) @attributes.attributes(name) |