From: Burak Yigit Kaya Date: Tue, 15 Sep 2015 12:23:52 +0000 (-0700) Subject: Prevent caching of workflows X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=61fa644c4eb0ed8ff8c0b21a175512f9ea949c87;p=arcanist.git Prevent caching of workflows Summary: Fixes T9159. Test Plan: Run `arc patch` on a code base requiring auth for a diff that has at least one dependency. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: avivey, thoughtpolice, joshuaspence, Korvin Maniphest Tasks: T9159 Differential Revision: https://secure.phabricator.com/D14034 --- diff --git a/src/configuration/ArcanistConfiguration.php b/src/configuration/ArcanistConfiguration.php index 91d0dc65..e66b7936 100644 --- a/src/configuration/ArcanistConfiguration.php +++ b/src/configuration/ArcanistConfiguration.php @@ -31,7 +31,7 @@ class ArcanistConfiguration extends Phobject { $command = 'version'; } - return idx($this->buildAllWorkflows(), $command); + return clone idx($this->buildAllWorkflows(), $command); } public function buildAllWorkflows() {