Fix BrachFormatter for removed users
This commit is contained in:
parent
0d2f696c3c
commit
c8273ba858
|
|
@ -12,7 +12,7 @@ module Gitlab
|
|||
end
|
||||
|
||||
def user
|
||||
raw_data.user.login
|
||||
raw_data.user&.login || 'unknown'
|
||||
end
|
||||
|
||||
def short_sha(length = 7)
|
||||
|
|
|
|||
Loading…
Reference in New Issue