mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-09 16:32:39 +01:00
Let phutil_rebuild_map **really** be quiet
Summary: Depends on D9586. The progress bar is written to stderr which results in bad stuff happening when you try run `lint` (`PhutilLibraryLinter` calls it) Test Plan: run `arc lint`, see no more errors Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D9587
This commit is contained in:
parent
5a02012706
commit
8d7ee9ee38
1 changed files with 3 additions and 0 deletions
|
@ -141,6 +141,9 @@ final class PhutilLibraryMapBuilder {
|
|||
$this->log("Analyzing {$count} files with {$limit} subprocesses...\n");
|
||||
|
||||
$progress = new PhutilConsoleProgressBar();
|
||||
if ($this->quiet) {
|
||||
$progress->setQuiet(true);
|
||||
}
|
||||
$progress->setTotal(count($futures));
|
||||
|
||||
foreach (Futures($futures)->limit($limit) as $file => $future) {
|
||||
|
|
Loading…
Reference in a new issue