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 9627356 Unnecessary variable
9627356 is described below
commit 96273562f606e8a5d782bc13a8b5ba21ca87a21f
Author: Sebb <[email protected]>
AuthorDate: Tue Jul 7 17:27:46 2020 +0100
Unnecessary variable
---
www/secretary/response-time.cgi | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/www/secretary/response-time.cgi b/www/secretary/response-time.cgi
index 7747403..0a1a4e4 100755
--- a/www/secretary/response-time.cgi
+++ b/www/secretary/response-time.cgi
@@ -44,9 +44,8 @@ _html do
end
_json do
- officers = ASF::SVN['officers']
startTime = Time.now
- _result `#{CMD.sub(/\bofficers\b/, officers)}`
+ _result `#{CMD.sub(/\bofficers\b/, ASF::SVN['officers'])}`
_server Time.now - startTime
end