Bug 1541660 - Fix clang-format subcommands that don't take a path. r=bastien
We do need some test for this stuff... Differential Revision: https://phabricator.services.mozilla.com/D26039
This commit is contained in:
@@ -2422,7 +2422,9 @@ class StaticAnalysis(MachCommandBase):
|
||||
if path is None and outgoing:
|
||||
repo = get_repository_object(self.topsrcdir)
|
||||
path = repo.get_outgoing_files()
|
||||
path = map(os.path.abspath, path)
|
||||
|
||||
if path:
|
||||
path = map(os.path.abspath, path)
|
||||
|
||||
os.chdir(self.topsrcdir)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user