From 4e984548404967e8a3b5091ec6d6cd57ddd3c8e3 Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 2 Mar 2015 08:34:46 -0800 Subject: [PATCH] Fix a newline issue in "arc" workflows Summary: We end up with one too few newline here in some workflows, like `arc land` with unstaged changes. Root issue here is that `phutil_console_prompt|confirm` lead with too much whitespace but that's a harder fix. Test Plan: Saw reasonable whitespace. Reviewers: btrahan, chad Reviewed By: chad Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D11927 --- src/workflow/ArcanistWorkflow.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/workflow/ArcanistWorkflow.php b/src/workflow/ArcanistWorkflow.php index 0b68a293..e0efb972 100644 --- a/src/workflow/ArcanistWorkflow.php +++ b/src/workflow/ArcanistWorkflow.php @@ -930,7 +930,7 @@ abstract class ArcanistWorkflow extends Phobject { $uncommitted_list); } - echo implode("\n\n", $lists); + echo implode("\n\n", $lists)."\n"; $all_uncommitted = array_merge($unstaged, $uncommitted); if ($this->askForAdd($all_uncommitted)) {