Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15492098
D21718.id51742.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D21718.id51742.diff
View Options
diff --git a/src/moduleutils/PhutilLibraryMapBuilder.php b/src/moduleutils/PhutilLibraryMapBuilder.php
--- a/src/moduleutils/PhutilLibraryMapBuilder.php
+++ b/src/moduleutils/PhutilLibraryMapBuilder.php
@@ -122,7 +122,7 @@
*/
private function log($message) {
if (!$this->quiet) {
- @fwrite(STDERR, "%s\n", $message);
+ @fprintf(STDERR, "%s\n", $message);
}
return $this;
}
diff --git a/src/workflow/ArcanistLiberateWorkflow.php b/src/workflow/ArcanistLiberateWorkflow.php
--- a/src/workflow/ArcanistLiberateWorkflow.php
+++ b/src/workflow/ArcanistLiberateWorkflow.php
@@ -28,6 +28,9 @@
$this->newWorkflowArgument('clean')
->setHelp(
pht('Perform a clean rebuild, ignoring caches. Thorough, but slow.')),
+ $this->newWorkflowArgument('verbose')
+ ->setHelp(
+ pht('Additional status messages will be output to stderr.')),
$this->newWorkflowArgument('argv')
->setWildcard(true)
->setIsPathArgument(true),
@@ -147,6 +150,9 @@
if ($this->getArgument('clean')) {
$argv[] = '--drop-cache';
}
+ if (!$this->getArgument('verbose')) {
+ $argv[] = '--quiet';
+ }
return phutil_passthru(
'php -f %R -- %Ls %R',
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 13, 10:53 AM (1 d, 53 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7741364
Default Alt Text
D21718.id51742.diff (1 KB)
Attached To
Mode
D21718: Update "arc liberate" to fix error with PHP 8, remove logging, modify error handling
Attached
Detach File
Event Timeline
Log In to Comment