diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-15 01:06:19 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-15 01:06:19 +0300 |
commit | a16072c2f88191585b0a69825b4b0fe53984cc80 (patch) | |
tree | acc57b77209fd7a54512e75324b174e4cff6198a /lib/gitlab | |
parent | 045e5c9a98f55302c35a50ff184d436ca3c3c0e3 (diff) |
Add latest changes from gitlab-org/gitlab@15-8-stable-ee
Diffstat (limited to 'lib/gitlab')
-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 e6a2e5c3b33..bef4b147359 100644 --- a/lib/gitlab/ci/parsers/security/validators/schema_validator.rb +++ b/lib/gitlab/ci/parsers/security/validators/schema_validator.rb @@ -65,7 +65,7 @@ module Gitlab if latest_vendored_patch_version latest_vendored_patch_version_file = File.join(root_path, latest_vendored_patch_version, file_name) - return latest_vendored_patch_version_file if File.file?(latest_vendored_patch_version) + return latest_vendored_patch_version_file if File.file?(latest_vendored_patch_version_file) end earliest_supported_version = SUPPORTED_VERSIONS[report_type].min |