diff options
Diffstat (limited to 'lib/gitlab/ci/parsers/security/validators')
-rw-r--r-- | lib/gitlab/ci/parsers/security/validators/schema_validator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/ci/parsers/security/validators/schema_validator.rb b/lib/gitlab/ci/parsers/security/validators/schema_validator.rb index 3d92886cba8..143b930c669 100644 --- a/lib/gitlab/ci/parsers/security/validators/schema_validator.rb +++ b/lib/gitlab/ci/parsers/security/validators/schema_validator.rb @@ -12,7 +12,7 @@ module Gitlab end def initialize(report_type) - @report_type = report_type + @report_type = report_type.to_sym end delegate :validate, to: :schemer |