Commit d02f36d6 authored by Filipa Lacerda's avatar Filipa Lacerda

Fixes rubocop offenses

parent 38bcf699
module AutoDevopsHelper
def show_auto_devops_callout?(project)
show_callout?('auto_devops_settings_dismissed') &&
can?(current_user, :admin_pipeline, project) &&
!current_application_settings.auto_devops_enabled? &&
project.auto_devops&.enabled.nil?
can?(current_user, :admin_pipeline, project) &&
!current_application_settings.auto_devops_enabled? &&
project.auto_devops&.enabled.nil?
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment