mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 12:08:33 +00:00
clint: Do not report zero errors
This commit is contained in:
@@ -571,6 +571,7 @@ class _CppLintState(object):
|
|||||||
for category, count in self.errors_by_category.items():
|
for category, count in self.errors_by_category.items():
|
||||||
sys.stderr.write('Category \'%s\' errors found: %d\n' %
|
sys.stderr.write('Category \'%s\' errors found: %d\n' %
|
||||||
(category, count))
|
(category, count))
|
||||||
|
if self.error_count:
|
||||||
sys.stderr.write('Total errors found: %d\n' % self.error_count)
|
sys.stderr.write('Total errors found: %d\n' % self.error_count)
|
||||||
|
|
||||||
def SuppressErrorsFrom(self, fname):
|
def SuppressErrorsFrom(self, fname):
|
||||||
|
Reference in New Issue
Block a user