Commit 2d9b05af authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Freeze mutable objects in build.rb

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 771cfb14
......@@ -7,9 +7,9 @@ module EE
module Build
extend ActiveSupport::Concern
CODEQUALITY_FILE = 'codeclimate.json'
SAST_FILE = 'gl-sast-report.json'
CLAIR_FILE = 'gl-clair-report.json'
CODEQUALITY_FILE = 'codeclimate.json'.freeze
SAST_FILE = 'gl-sast-report.json'.freeze
CLAIR_FILE = 'gl-clair-report.json'.freeze
included do
scope :codequality, ->() { where(name: %w[codequality codeclimate]) }
......
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