diff options
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: |