whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Add the auth after command name
Date Mon, 29 Jun 2020 00:17:11 GMT
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 <sebb@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


Mime
View raw message