Read about our upcoming Code of Conduct on this issue

Unverified Commit aba9668a authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Rescue rugged error when detect ci yml file


Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 90a0bebdf281
......@@ -152,5 +152,7 @@ def commit_user(commit)
def gitlab_ci_yaml?(sha)
@project.repository.blob_at(sha, '.gitlab-ci.yml')
rescue Rugged::ReferenceError
nil
end
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment