Page MenuHomePhabricator

D18185.diff
No OneTemporary

D18185.diff

diff --git a/src/workflow/ArcanistDiffWorkflow.php b/src/workflow/ArcanistDiffWorkflow.php
--- a/src/workflow/ArcanistDiffWorkflow.php
+++ b/src/workflow/ArcanistDiffWorkflow.php
@@ -1355,7 +1355,7 @@
'Unit testing raised errors, but all '.
'failing tests are unsound.'));
} else {
- $continue = $this->console->confirm(
+ $continue = phutil_console_confirm(
pht(
'Unit test results included failures, but all failing tests '.
'are known to be unsound. Ignore unsound test failures?'));
diff --git a/src/workflow/ArcanistLandWorkflow.php b/src/workflow/ArcanistLandWorkflow.php
--- a/src/workflow/ArcanistLandWorkflow.php
+++ b/src/workflow/ArcanistLandWorkflow.php
@@ -1417,7 +1417,7 @@
pht('Harbormaster URI'),
$buildable['uri']);
- if (!$console->confirm($prompt)) {
+ if (!phutil_console_confirm($prompt)) {
throw new ArcanistUserAbortException();
}
}
diff --git a/src/workflow/ArcanistLintWorkflow.php b/src/workflow/ArcanistLintWorkflow.php
--- a/src/workflow/ArcanistLintWorkflow.php
+++ b/src/workflow/ArcanistLintWorkflow.php
@@ -518,7 +518,7 @@
$prompt = pht(
'Apply this patch to %s?',
phutil_console_format('__%s__', $result->getPath()));
- if (!$console->confirm($prompt, $default = true)) {
+ if (!phutil_console_confirm($prompt, $default_no = false)) {
continue;
}
}
@@ -546,7 +546,7 @@
pht('Automatically amending HEAD with lint patches.'));
$amend = true;
} else {
- $amend = $console->confirm(pht('Amend HEAD with lint patches?'));
+ $amend = phutil_console_confirm(pht('Amend HEAD with lint patches?'));
}
if ($amend) {

File Metadata

Mime Type
text/plain
Expires
Wed, Jun 18, 11:33 PM (15 h, 52 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8144356
Default Alt Text
D18185.diff (1 KB)

Event Timeline