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

commit d9a3e836137cfa50b3d4d589f637ff97f9e4c326
Author: Sebb <[email protected]>
AuthorDate: Mon Mar 28 17:35:52 2022 +0100

    Fix ambiguous syntax
---
 lib/whimsy/asf/committee.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/committee.rb b/lib/whimsy/asf/committee.rb
index a898afd..7ad94ce 100644
--- a/lib/whimsy/asf/committee.rb
+++ b/lib/whimsy/asf/committee.rb
@@ -365,7 +365,7 @@ module ASF
         slots[slot].sort_by!(&:downcase)
 
         # restore headers
-        slots[slot].unshift *headers
+        slots[slot].unshift(*headers) # () are required here to prevent warning
 
         # re-insert reporting schedules
         blocks[index + 0] = slots[0].join("\n")

Reply via email to