Bug 1480370 - pass checks to _get_clang_tidy_command.
MozReview-Commit-ID: JO9nr59WYk5
--- a/python/mozbuild/mozbuild/mach_commands.py
+++ b/python/mozbuild/mozbuild/mach_commands.py
@@ -1695,17 +1695,17 @@ class StaticAnalysis(MachCommandBase):
total = total + 1
if not total:
return 0
cwd = self.topobjdir
self._compilation_commands_path = self.topobjdir
args = self._get_clang_tidy_command(
- check=checks, header_filter=header_filter, sources=source, jobs=jobs, fix=fix)
+ checks=checks, header_filter=header_filter, sources=source, jobs=jobs, fix=fix)
monitor = StaticAnalysisMonitor(self.topsrcdir, self.topobjdir, total)
footer = StaticAnalysisFooter(self.log_manager.terminal, monitor)
with StaticAnalysisOutputManager(self.log_manager, monitor, footer) as output:
rc = self.run_process(args=args, line_handler=output.on_line, cwd=cwd)
self.log(logging.WARNING, 'warning_summary',