Fix BrachFormatter for removed users

This commit is contained in:
Douglas Barbosa Alexandre 2017-03-22 14:45:35 -03:00 committed by Gabriel Mazetto
parent 0d2f696c3c
commit c8273ba858
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ module Gitlab
end
def user
raw_data.user.login
raw_data.user&.login || 'unknown'
end
def short_sha(length = 7)