Commit 390dd939 authored by Robert Speicher's avatar Robert Speicher

Resolve Style/EmptyLambdaParameter violations

parent a4bfc097
......@@ -13,10 +13,10 @@ module EE
SAST_CONTAINER_FILE = 'gl-sast-container-report.json'.freeze
included do
scope :codequality, ->() { where(name: %w[codequality codeclimate]) }
scope :performance, ->() { where(name: %w[performance deploy]) }
scope :sast, ->() { where(name: 'sast') }
scope :sast_container, ->() { where(name: 'sast:container') }
scope :codequality, -> { where(name: %w[codequality codeclimate]) }
scope :performance, -> { where(name: %w[performance deploy]) }
scope :sast, -> { where(name: 'sast') }
scope :sast_container, -> { where(name: 'sast:container') }
after_save :stick_build_if_status_changed
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