diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2018-01-23 20:42:10 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2018-01-25 16:05:11 +0300 |
commit | 6d6f7536bd9b5bcbf94dfbe15cc86e84d06527f5 (patch) | |
tree | 6b6c62e084b1ce914da742be847d56086b0b6475 /app/models/ci/pipeline.rb | |
parent | 1f5af51b476a36a72759e7560c125c2b9602b145 (diff) |
Look for rugged with static analysis
Diffstat (limited to 'app/models/ci/pipeline.rb')
-rw-r--r-- | app/models/ci/pipeline.rb | 2 |
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 |