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:
Diffstat (limited to 'lib/gitlab/ci/project_config/repository.rb')
-rw-r--r--lib/gitlab/ci/project_config/repository.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/ci/project_config/repository.rb b/lib/gitlab/ci/project_config/repository.rb
index a08cf27b74c..93e13f57943 100644
--- a/lib/gitlab/ci/project_config/repository.rb
+++ b/lib/gitlab/ci/project_config/repository.rb
@@ -33,7 +33,7 @@ module Gitlab
return unless project
return unless sha
- project.repository.gitlab_ci_yml_for(sha, ci_config_path).present?
+ project.repository.blob_at(sha, ci_config_path).present?
rescue GRPC::NotFound, GRPC::Internal
nil
end