whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Use File.join for pathname construction
Date Sun, 14 Feb 2021 13:10:32 GMT
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 a1a506e  Use File.join for pathname construction
a1a506e is described below

commit a1a506e5e01bec9e538bd488782ad7a6b84ab118
Author: Sebb <sebb@apache.org>
AuthorDate: Sun Feb 14 13:10:22 2021 +0000

    Use File.join for pathname construction
---
 www/committers/tools.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/committers/tools.cgi b/www/committers/tools.cgi
index 7c1725e..88c2b67 100755
--- a/www/committers/tools.cgi
+++ b/www/committers/tools.cgi
@@ -38,7 +38,7 @@ _html do
         emit_authmap
       }
     ) do
-      scan = get_annotated_scan("../#{SCANDIR}")
+      scan = get_annotated_scan(File.join("..", SCANDIR))
       scan.merge!(NONCGIS)
       scan_by = Hash.new{|h,k| h[k]=Array.new}
       # Create array entry for each category


Mime
View raw message