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 249cbc8  Unused variables
249cbc8 is described below

commit 249cbc86f405ffe21ad093b9a3344a61b72932d7
Author: Sebb <[email protected]>
AuthorDate: Sun Oct 4 12:28:15 2020 +0100

    Unused variables
---
 www/secretary/workbench/views/actions/memapp.json.rb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/www/secretary/workbench/views/actions/memapp.json.rb 
b/www/secretary/workbench/views/actions/memapp.json.rb
index c5e6157..6cb2755 100644
--- a/www/secretary/workbench/views/actions/memapp.json.rb
+++ b/www/secretary/workbench/views/actions/memapp.json.rb
@@ -61,7 +61,7 @@ task "svn commit documents/member_apps/#@filename#{fileext} 
and update members.t
     _textarea @entry, name: 'entry', rows: @entry.split("\n").length
   end
 
-  complete do |dir|
+  complete do
 
     svn_multi('foundation', 'members.txt', 'member_apps', @selected, 
@signature, @filename, fileext, message, @document) do |members_txt|
 
@@ -132,7 +132,7 @@ task "subscribe to [email protected]" do
     _textarea @subreq, name: 'subreq', rows: @subreq.split("\n").length
   end
 
-  complete do |dir|
+  complete do
     # determine file name
     fn = "#{@availid}-members-#{Time.now.strftime '%Y%m%d-%H%M%S-%L'}.json"
 
@@ -163,10 +163,10 @@ task "svn commit memapp-received.text" do
     _input value: @line, name: 'line'
   end
 
-  complete do |dir|
+  complete do
     meeting = file.split('/')[-2]
     path = ASF::SVN.svnpath!('Meetings', meeting,'memapp-received.txt')
-    rc = ASF::SVN.update(path, @document, env, _, {diff: true}) do |tmpdir, 
input|
+    rc = ASF::SVN.update(path, @document, env, _, {diff: true}) do |_tmpdir, 
input|
       input[/.*\s#{@availid}\s.*/] = @line
       input
     end

Reply via email to