summaryrefslogtreecommitdiff
path: root/app/services/projects/update_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/projects/update_service.rb')
-rw-r--r--app/services/projects/update_service.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/services/projects/update_service.rb b/app/services/projects/update_service.rb
index 51a6f62e597..2dad1d05a2c 100644
--- a/app/services/projects/update_service.rb
+++ b/app/services/projects/update_service.rb
@@ -7,7 +7,6 @@ module Projects
ValidationError = Class.new(StandardError)
- # rubocop: disable CodeReuse/ActiveRecord
def execute
remove_unallowed_params
validate!
@@ -31,7 +30,6 @@ module Projects
rescue ValidationError => e
error(e.message)
end
- # rubocop: enable CodeReuse/ActiveRecord
def run_auto_devops_pipeline?
return false if project.repository.gitlab_ci_yml || !project.auto_devops&.previous_changes&.include?('enabled')