File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -77,15 +77,12 @@ def notify(self, event):
77
77
self .output += msg + "\n "
78
78
79
79
def print_notify (self , event ):
80
- """ Default command line notification
80
+ """ Command line notification
81
81
"""
82
- if not self . verbose and event ['type' ] == 'tool_error' :
82
+ if event ['type' ] == 'tool_error' :
83
83
return event ['message' ]
84
84
85
- elif event ['type' ] in ['info' ]:
86
- return event ['message' ]
87
-
88
- elif event ['type' ] == 'cc' :
85
+ elif event ['type' ] == 'cc' and event ['severity' ] != 'verbose' :
89
86
event ['severity' ] = event ['severity' ].title ()
90
87
91
88
if PRINT_COMPILER_OUTPUT_AS_LINK :
@@ -105,7 +102,7 @@ def print_notify(self, event):
105
102
basename (event ['file' ]))
106
103
107
104
def print_notify_verbose (self , event ):
108
- """ Default command line notification with more verbose mode
105
+ """ Command line notification with more verbose mode
109
106
"""
110
107
if event ['type' ] == 'info' :
111
108
return event ['message' ]
You can’t perform that action at this time.
0 commit comments