summaryrefslogtreecommitdiff
path: root/app/models/ci
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2018-01-23 18:42:10 +0100
committerJacob Vosmaer <jacob@gitlab.com>2018-01-25 14:05:11 +0100
commit6d6f7536bd9b5bcbf94dfbe15cc86e84d06527f5 (patch)
tree6b6c62e084b1ce914da742be847d56086b0b6475 /app/models/ci
parent1f5af51b476a36a72759e7560c125c2b9602b145 (diff)
downloadgitlab-ce-6d6f7536bd9b5bcbf94dfbe15cc86e84d06527f5.tar.gz
Look for rugged with static analysislint-rugged
Diffstat (limited to 'app/models/ci')
-rw-r--r--app/models/ci/pipeline.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/pipeline.rb b/app/models/ci/pipeline.rb
index d7153d7b816..f84bf132854 100644
--- a/app/models/ci/pipeline.rb
+++ b/app/models/ci/pipeline.rb
@@ -524,7 +524,7 @@ module Ci
return unless sha
project.repository.gitlab_ci_yml_for(sha, ci_yaml_file_path)
- rescue GRPC::NotFound, Rugged::ReferenceError, GRPC::Internal
+ rescue GRPC::NotFound, GRPC::Internal
nil
end