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 2ce4277b Allow for array
2ce4277b is described below

commit 2ce4277bd5bd752b756642e3d9d6e834f3d37df8
Author: Sebb <[email protected]>
AuthorDate: Fri Sep 13 23:51:26 2024 +0100

    Allow for array
---
 lib/whimsy/asf/documents.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/documents.rb b/lib/whimsy/asf/documents.rb
index 2fd265f4..894027d6 100644
--- a/lib/whimsy/asf/documents.rb
+++ b/lib/whimsy/asf/documents.rb
@@ -280,7 +280,7 @@ module ASF
         names = list.select{|x,_y| x.start_with?("#{userid}.") or x == 
"#{userid}/"} # if there is a sig, then files are in a subdir
         if names.size == 1
           name = names.first
-          path = ASF::SVN.svnpath!(STEM, name)
+          path = ASF::SVN.svnpath!(STEM, getDates ? name.first : name)
           return [path, name].flatten # this works equally well with or 
without dates
         end
         return nil

Reply via email to