You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2020/06/29 00:17:11 UTC

[whimsy] branch master updated: Add the auth after command name

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new a0c1eb0  Add the auth after command name
a0c1eb0 is described below

commit a0c1eb0b1a56201a4b20e3f886648406a5abe286
Author: Sebb <se...@apache.org>
AuthorDate: Mon Jun 29 01:17:02 2020 +0100

    Add the auth after command name
---
 lib/whimsy/asf/svn.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/whimsy/asf/svn.rb b/lib/whimsy/asf/svn.rb
index 6f0b48b..13a63f8 100644
--- a/lib/whimsy/asf/svn.rb
+++ b/lib/whimsy/asf/svn.rb
@@ -425,8 +425,8 @@ module ASF
 
       cmd, stdin = self._svn_build_cmd(command, path, options)
       sysopts[:stdin] = stdin if stdin
-      if auth
-        cmd.insert(1, auth, '--no-auth-cache')
+      if auth # insert after the command name
+        cmd.insert(2, auth, '--no-auth-cache')
       end
 
       # This ensures the output is captured in the response