Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-08-20 00:10:32 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-08-20 00:10:32 +0300
commitacb2f0ab9452ced85e818d05b4bc5fcc4091959f (patch)
treee8f414d8f4c3daa415455cb772bdaa76e69f3845 /.rubocop.yml
parent21db5294d4ba402f9d44a1f59e8344daef0911a2 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml3
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: