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 20c6e0e Docco
20c6e0e is described below
commit 20c6e0eb7252f52eed25b9ef2f7a1c554d22662e
Author: Sebb <[email protected]>
AuthorDate: Sat Nov 30 16:31:58 2019 +0000
Docco
---
lib/whimsy/asf/documents.rb | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/whimsy/asf/documents.rb b/lib/whimsy/asf/documents.rb
index 531d8b6..cf92fd9 100644
--- a/lib/whimsy/asf/documents.rb
+++ b/lib/whimsy/asf/documents.rb
@@ -58,6 +58,7 @@ module ASF
end
# return a list of names matching stem.*
+ # Does not return directories
def self.matchStem(stem)
listnames.select{|l| ! l.end_with?('/') && l.start_with?("#{stem}.")}
end