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: Oops -- restore variable substitution
Date Sat, 17 Oct 2020 12:37:50 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 69a32ed  Oops -- restore variable substitution
69a32ed is described below

commit 69a32edfc5d50af2ef381d96ff38a9f07e57fa73
Author: Sebb <sebb@apache.org>
AuthorDate: Sat Oct 17 13:37:42 2020 +0100

    Oops -- restore variable substitution
    
    broken in da29495dab3c0d3b23a4a15c91771b5fb0a5352c
---
 www/board/agenda/views/actions/todos.json.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/board/agenda/views/actions/todos.json.rb b/www/board/agenda/views/actions/todos.json.rb
index c39eec3..1c0a746 100644
--- a/www/board/agenda/views/actions/todos.json.rb
+++ b/www/board/agenda/views/actions/todos.json.rb
@@ -143,10 +143,10 @@ if @establish and env.password
 
   # create 'victims' file for tlpreq tool
   ASF::SVN.svn('update', TLPREQ)
-  establish -= Dir[File.join(TLPREQ, 'victims-#{date}.*.txt')].
+  establish -= Dir[File.join(TLPREQ, "victims-#{date}.*.txt")].
      map {|name| File.read(name).lines().map(&:chomp)}.flatten
   unless establish.empty?
-    count = Dir[File.join(TLPREQ, 'victims-#{date}.*.txt')].length
+    count = Dir[File.join(TLPREQ, "victims-#{date}.*.txt")].length
     message = "record #{date} approved TLP resolutions"
     ASF::SVN.update TLPREQ, message, env, _ do |tmpdir|
       filename = "victims-#{date}.#{count}.txt"


Mime
View raw message