diff options
Diffstat (limited to 'lib/gitlab/ci/parsers/security/validators/schema_validator.rb')
-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 |