зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1696251 - Fix error in static analysis mach_commands.py. r=mhentges
When transitioning from using `self` to using `command_context` in mach commands, this specific mistake went undetected (no bustage forced a backout, either). This commit fixes it. Differential Revision: https://phabricator.services.mozilla.com/D120804
This commit is contained in:
Родитель
2789e5cf91
Коммит
a2997cb1c6
|
@ -962,8 +962,10 @@ class StaticAnalysis(MachCommandBase):
|
|||
|
||||
def setup_coverity(self, command_context, force_download=True):
|
||||
rc, config, _ = self._get_config_environment(command_context)
|
||||
rc, cov = rc or self.get_coverity_secrets(command_context)
|
||||
if rc != 0:
|
||||
return rc, None
|
||||
|
||||
rc, cov = self.get_coverity_secrets(command_context)
|
||||
if rc != 0:
|
||||
return rc, cov
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче