diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-20 00:10:32 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-20 00:10:32 +0300 |
commit | acb2f0ab9452ced85e818d05b4bc5fcc4091959f (patch) | |
tree | e8f414d8f4c3daa415455cb772bdaa76e69f3845 /.rubocop.yml | |
parent | 21db5294d4ba402f9d44a1f59e8344daef0911a2 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 7b2b8ca70f5..a82910d89fb 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -38,7 +38,8 @@ AllCops: - 'workhorse/**/*' - 'spec/support/*.git/**/*' # e.g. spec/support/gitlab-git-test.git - 'db/ci_migrate/*.rb' # since the `db/ci_migrate` is a symlinked to `db/migrate` - CacheRootDirectory: tmp + # Use absolute path to avoid orphan directories with changed workspace root. + CacheRootDirectory: <%= Dir.getwd %>/tmp MaxFilesInCache: 25000 Cop/AvoidKeywordArgumentsInSidekiqWorkers: |