mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 06:42:41 +01:00
Don't prompt for patches when outputting lint results as XML.
Summary: The Checkstyle XML output format is not intended to be an interactive workflow. Test Plan: Introduced linter issues and ran `arc lint`. Verified that no interactive prompt was shown. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D9107
This commit is contained in:
parent
ec3de41684
commit
79285208c4
1 changed files with 2 additions and 0 deletions
|
@ -459,6 +459,8 @@ EOTEXT
|
|||
break;
|
||||
case 'xml':
|
||||
$renderer = new ArcanistLintCheckstyleXMLRenderer();
|
||||
$prompt_patches = false;
|
||||
$apply_patches = $this->getArgument('apply-patches');
|
||||
break;
|
||||
default:
|
||||
$renderer = new ArcanistLintConsoleRenderer();
|
||||
|
|
Loading…
Reference in a new issue