Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-07-05 12:07:37 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-07-05 12:07:37 +0300
commitcf98b5d69a84324cad0f23b786a0ec0937c90944 (patch)
tree96a65fa7e9f4560ca87fd3db9e9072ae46e14639 /app/finders
parent5fd38b5f78df56538ff4362f7be734c65891f2d8 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/finders')
-rw-r--r--app/finders/security/jobs_finder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/security/jobs_finder.rb b/app/finders/security/jobs_finder.rb
index cffc1d52a3e..99bcf97f43c 100644
--- a/app/finders/security/jobs_finder.rb
+++ b/app/finders/security/jobs_finder.rb
@@ -20,7 +20,7 @@ module Security
end
def initialize(pipeline:, job_types: [])
- if self.class == Security::JobsFinder
+ if self.instance_of?(Security::JobsFinder)
raise NotImplementedError, 'This is an abstract class, please instantiate its descendants'
end