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 0fe75b6  Fix alignment
0fe75b6 is described below

commit 0fe75b6b96ae0dc7662806e7e4c77995bc5dedcc
Author: Sebb <[email protected]>
AuthorDate: Wed Oct 21 17:21:34 2020 +0100

    Fix alignment
---
 lib/whimsy/asf/documents.rb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/whimsy/asf/documents.rb b/lib/whimsy/asf/documents.rb
index cb46c34..79bf2d5 100644
--- a/lib/whimsy/asf/documents.rb
+++ b/lib/whimsy/asf/documents.rb
@@ -78,10 +78,10 @@ module ASF
     # Does not return directories
     def self.matchStem(stem)
       unless @@h_stem
-        h_stem = Hash.new{|h,k| h[k] = []}
-          listnames.map do |l|
-            h_stem[l.split('.')[0]] << l unless l.end_with?('/')
-          end
+        h_stem = Hash.new {|h, k| h[k] = []}
+        listnames.map do |l|
+          h_stem[l.split('.')[0]] << l unless l.end_with?('/')
+        end
         @@h_stem = h_stem
       end
       @@h_stem[stem]

Reply via email to