From 79285208c426aa131d929ec8c5e0e36ccc750960 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Tue, 13 May 2014 14:40:27 -0700 Subject: [PATCH] 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 --- src/workflow/ArcanistLintWorkflow.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/workflow/ArcanistLintWorkflow.php b/src/workflow/ArcanistLintWorkflow.php index 3845118d..61f20a34 100644 --- a/src/workflow/ArcanistLintWorkflow.php +++ b/src/workflow/ArcanistLintWorkflow.php @@ -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(); -- 2.43.0