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 ea0dbc4 warn if discussion item is missing a body
ea0dbc4 is described below
commit ea0dbc46f47527c4cccc032109507006837300a4
Author: Sam Ruby <[email protected]>
AuthorDate: Wed May 12 18:36:31 2021 -0400
warn if discussion item is missing a body
---
lib/whimsy/asf/agenda/discussion.rb | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/whimsy/asf/agenda/discussion.rb
b/lib/whimsy/asf/agenda/discussion.rb
index bdbedf5..cb29d1c 100644
--- a/lib/whimsy/asf/agenda/discussion.rb
+++ b/lib/whimsy/asf/agenda/discussion.rb
@@ -36,6 +36,7 @@ class ASF::Board::Agenda
scan discussion, pattern do |attrs|
attrs['section'] = '8' + attrs['section']
+ attrs['warnings'] = ['Body is missing'] if attrs['text'].strip.empty?
end
end
end