mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 1826209 - Display message when nonfatal warnings are present r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D174542
This commit is contained in:
parent
23690c9281
commit
89a6285ec3
@ -146,4 +146,11 @@ class StylishFormatter(object):
|
||||
)
|
||||
)
|
||||
|
||||
if result.total_suppressed_warnings > 0 and num_errors == 0:
|
||||
message.append(
|
||||
"(pass {c1}-W/--warnings{c2} to see warnings.)".format(
|
||||
c1=self.color("grey"), c2=self.term.normal
|
||||
)
|
||||
)
|
||||
|
||||
return "\n".join(message)
|
||||
|
Loading…
Reference in New Issue
Block a user