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/10/04 11:53:26 UTC

[whimsy] branch master updated: Unused parameters

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 b72fd3e  Unused parameters
b72fd3e is described below

commit b72fd3ed07ddb81c09f36c3ff6d4583230aa2724
Author: Sebb <se...@apache.org>
AuthorDate: Sun Oct 4 12:53:15 2020 +0100

    Unused parameters
---
 www/secretary/workbench/views/actions/icla2.json.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/secretary/workbench/views/actions/icla2.json.rb b/www/secretary/workbench/views/actions/icla2.json.rb
index e432584..af690ba 100644
--- a/www/secretary/workbench/views/actions/icla2.json.rb
+++ b/www/secretary/workbench/views/actions/icla2.json.rb
@@ -137,9 +137,9 @@ task "svn commit foundation/officers/iclas.txt" do
     _input value: @iclaline, name: 'iclaline'
   end
 
-  complete do |dir|
+  complete do
     rc = ASF::SVN.update(ASF::SVN.svnpath!('officers', 'iclas.txt'),
-        "ICLA (additional) for #{@pubname}", env, _, {diff: true}) do |tmpdir, iclas_txt|
+        "ICLA (additional) for #{@pubname}", env, _, {diff: true}) do |_tmpdir, iclas_txt|
       iclas_txt[/^#{@id}:.*:#{@oldemail}:.*/] = @iclaline
       iclas_txt
     end