You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2017/05/26 00:25:13 UTC
[whimsy] branch master updated: Oops! wrong local file name and path
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 58258f6 Oops! wrong local file name and path
58258f6 is described below
commit 58258f6d8d96216133a9a17207880d32289a867b
Author: Sebb <se...@apache.org>
AuthorDate: Fri May 26 01:25:11 2017 +0100
Oops! wrong local file name and path
---
tools/collate_minutes.rb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/collate_minutes.rb b/tools/collate_minutes.rb
index 74420d8..fc2eec1 100755
--- a/tools/collate_minutes.rb
+++ b/tools/collate_minutes.rb
@@ -103,10 +103,12 @@ end
# get site information
DATAURI = 'https://whimsy.apache.org/public/committee-info.json'
-local_copy = File.expand_path('../public/site-scan.json', __FILE__).untaint
+local_copy = File.expand_path('../../www/public/committee-info.json', __FILE__).untaint
if File.exist? local_copy
+ Wunderbar.info "Using local copy of committee-info.json"
cinfo = JSON.parse(File.read(local_copy))
else
+ Wunderbar.info "Fetching remote copy of committee-info.json"
response = Net::HTTP.get_response(URI(DATAURI))
cinfo = JSON.parse(response.body)
end
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].