Bug 1635381 - Change the -q flag of brew cask outdated into --quiet. r=rstewart,mhentges

Differential Revision: https://phabricator.services.mozilla.com/D73837
This commit is contained in:
Nazım Can Altınova 2020-05-05 17:31:58 +00:00
parent 3225e6d0c5
commit 418de925f0

View File

@ -305,9 +305,9 @@ class OSXBootstrapper(BaseBootstrapper):
universal_newlines=True).split())
to_install = [package for package in packages if package not in installed]
# The "-q" tells "brew" to only list the package names, and not the
# The "--quiet" tells "brew" to only list the package names, and not the
# comparison between current and new version.
outdated = set(self.check_output(cmd + ['outdated', '-q'],
outdated = set(self.check_output(cmd + ['outdated', '--quiet'],
universal_newlines=True).split())
to_upgrade = [package for package in packages if package in outdated]