This is an automated email from the ASF dual-hosted git repository.
rubys 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 8b87446 eliminate warnings on Ruby 2.5
8b87446 is described below
commit 8b87446a3b501d9fbcfc0dcf45bab9d7a3f73c2d
Author: Sam Ruby <[email protected]>
AuthorDate: Tue Jan 23 14:00:14 2018 -0500
eliminate warnings on Ruby 2.5
unhandled exception in a thread
---
www/board/agenda/models/agenda.rb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/www/board/agenda/models/agenda.rb
b/www/board/agenda/models/agenda.rb
index ebe3ad2..20d9309 100755
--- a/www/board/agenda/models/agenda.rb
+++ b/www/board/agenda/models/agenda.rb
@@ -130,6 +130,7 @@ class Agenda
# update agenda file in SVN
def self.update(file, message, retries=20, &block)
+ return unless block
commit_rc = 0
# Create a temporary work directory
@@ -205,6 +206,6 @@ class Agenda
end
ensure
- FileUtils.rm_rf dir
+ FileUtils.rm_rf dir if dir
end
end
--
To stop receiving notification emails like this one, please contact
[email protected].