]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Stop defualting to USER from env in arcanist
authorepriestley <git@epriestley.com>
Wed, 22 Jun 2011 07:12:55 +0000 (00:12 -0700)
committerepriestley <git@epriestley.com>
Wed, 22 Jun 2011 07:16:07 +0000 (00:16 -0700)
Summary: This once made sense but hasn't been a reasonable default for a long time, get rid of it.

Test Plan: Ran "arc list".

Reviewers: llorca, toulouse

CC:

Differential Revision: 496

scripts/arcanist.php

index ecd306dab8438dcb096533dae50ef0c6d4a29864..76f56638b8bf88c8eaefc17b6b857c56dc04d600 100755 (executable)
@@ -179,7 +179,7 @@ try {
 
     $hosts_config = idx($user_config, 'hosts', array());
     $host_config = idx($hosts_config, $conduit_uri, array());
-    $user_name = idx($host_config, 'user', getenv('USER'));
+    $user_name = idx($host_config, 'user');
     $certificate = idx($host_config, 'cert');
 
     $description = implode(' ', $argv);