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>2023-04-24 12:09:43 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-04-24 12:09:43 +0300
commit028c7bdc315c3770f2ccc86f1100d90a5f702cad (patch)
treeee46807784d115a6bc4ffedbbd94588025e80b01 /rubocop
parentd1727df7469dacdf782140d69e5cf3aa08d75ec9 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'rubocop')
-rw-r--r--rubocop/migration_helpers.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/rubocop/migration_helpers.rb b/rubocop/migration_helpers.rb
index db8fc079774..d49280c39e4 100644
--- a/rubocop/migration_helpers.rb
+++ b/rubocop/migration_helpers.rb
@@ -42,11 +42,11 @@ module RuboCop
end
def in_deployment_migration?(node)
- dirname(node).end_with?('db/migrate', 'db/geo/migrate')
+ dirname(node).end_with?('db/migrate', 'db/embedding/migrate', 'db/geo/migrate')
end
def in_post_deployment_migration?(node)
- dirname(node).end_with?('db/post_migrate', 'db/geo/post_migrate')
+ dirname(node).end_with?('db/post_migrate', 'db/embedding/post_migrate', 'db/geo/post_migrate')
end
# Returns true if we've defined an 'EnforcedSince' variable in rubocop.yml and the migration version