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: Syntax error
Date Wed, 24 Oct 2018 01:11:35 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 6952c6c  Syntax error
6952c6c is described below

commit 6952c6cf7d5461ad5635984276def991918867c8
Author: Sebb <sebb@apache.org>
AuthorDate: Wed Oct 24 02:11:21 2018 +0100

    Syntax error
---
 www/secretary/workbench/views/actions/icla2.json.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/secretary/workbench/views/actions/icla2.json.rb b/www/secretary/workbench/views/actions/icla2.json.rb
index b9f4848..74ea240 100644
--- a/www/secretary/workbench/views/actions/icla2.json.rb
+++ b/www/secretary/workbench/views/actions/icla2.json.rb
@@ -106,7 +106,7 @@ end
 task "svn commit foundation/officers/iclas.txt" do
   icla = ASF::ICLA.find_by_id(@id) || ASF::ICLA.find_by_email(@oldemail)
   unless icla and icla.id == @id and icla.email == @oldemail
-    raise ArgumentError("ICLA not found for #@id:#@oldemail")
+    raise ArgumentError.new("ICLA not found for #@id:#@oldemail")
   end
 
   # construct line to be inserted


Mime
View raw message