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 c70cc94d Don't force scheme to https
c70cc94d is described below

commit c70cc94d5081bc71ff3747963fd26a57a84df196
Author: Sebb <s...@apache.org>
AuthorDate: Wed Dec 27 16:36:06 2023 +0000

    Don't force scheme to https
---
 lib/whimsy/asf/svn.rb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lib/whimsy/asf/svn.rb b/lib/whimsy/asf/svn.rb
index 0529dd66..75139463 100644
--- a/lib/whimsy/asf/svn.rb
+++ b/lib/whimsy/asf/svn.rb
@@ -61,9 +61,7 @@ module ASF
           @repos = Hash[Dir[*svn].map { |name|
             if Dir.exist? name
               out, _ = self.getInfoItem(name, 'url')
-              if out
-                [out.sub(/^http:/, 'https:'), name]
-              end
+              [out, name] if out
             end
           }.compact]
         end

Reply via email to