1
0
Fork 0

add link to a full diff

This commit is contained in:
Mikhail Goncharov 2020-03-10 14:28:56 +01:00
parent 3ee08f18bc
commit 814517c89e

View file

@ -299,7 +299,10 @@ class BuildReport:
lines = lines[:m]
description += ''.join(lines) + '\n```'
if cut:
description += '\n{} diff lines are omitted. Please check full report.'.format(n - m)
description += '\n{} diff lines are omitted. See [full diff]({}/{}).'.format(
n - m,
self.results_url,
self.clang_format_patch)
self.add_lint({
'name': 'clang-format',
'severity': 'autofix',