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 fdc0ad1  File.delete fails at line 716
fdc0ad1 is described below

commit fdc0ad17149d12e5be8df4e8281f4750dbd89e75
Author: Sebb <[email protected]>
AuthorDate: Mon Jul 6 22:51:58 2020 +0100

    File.delete fails at line 716
---
 lib/whimsy/asf/svn.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/svn.rb b/lib/whimsy/asf/svn.rb
index 0bc0f8c..4f84c9e 100644
--- a/lib/whimsy/asf/svn.rb
+++ b/lib/whimsy/asf/svn.rb
@@ -663,7 +663,7 @@ module ASF
       tmpdir = temp ? temp : Dir.mktmpdir.untaint
 
       begin
-        cmdfile = Tempfile.new('svnmucc_input', tmpdir)
+        cmdfile = Tempfile.new('svnmucc_input', tmpdir).untaint
         # add the commands
         commands.each do |cmd|
           raise ArgumentError.new 'command entries must be an array' unless 
Array === cmd

Reply via email to