You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2020/11/01 00:15:36 UTC
[whimsy] branch master updated: reject! returns nil if no items
were deleted
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 02257f8 reject! returns nil if no items were deleted
02257f8 is described below
commit 02257f8c36d78bd3f9a7db009626dbe914ae72dc
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Sat Oct 31 20:13:48 2020 -0400
reject! returns nil if no items were deleted
---
www/board/agenda/routes.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/board/agenda/routes.rb b/www/board/agenda/routes.rb
index 319fd32..0d51230 100755
--- a/www/board/agenda/routes.rb
+++ b/www/board/agenda/routes.rb
@@ -221,7 +221,7 @@ def server
if File.exist?(file) and File.mtime(file) != @present_mtime
@present_mtime = File.mtime(file)
@present = YAML.load_file(file).
- reject! {|name| name =~ /^board_agenda_[_\d]+$/}
+ reject {|name| name =~ /^board_agenda_[_\d]+$/}
end
if env['SERVER_NAME'] == 'localhost'