1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-10 00:42:40 +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:
Joshua Spence 2014-05-13 14:40:27 -07:00 committed by epriestley
parent ec3de41684
commit 79285208c4

View file

@ -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();