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 2020/06/30 16:32:21 UTC

[whimsy] branch master updated: Always drop the temporary command file

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 e2efe4b  Always drop the temporary command file
e2efe4b is described below

commit e2efe4b7d1919454e9ab04c878852fe785b4f572
Author: Sebb <se...@apache.org>
AuthorDate: Tue Jun 30 17:32:09 2020 +0100

    Always drop the temporary command file
---
 lib/whimsy/asf/svn.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/whimsy/asf/svn.rb b/lib/whimsy/asf/svn.rb
index 9bff1a0..5db35dd 100644
--- a/lib/whimsy/asf/svn.rb
+++ b/lib/whimsy/asf/svn.rb
@@ -691,6 +691,7 @@ module ASF
           _.system syscmd, sysopts
         end
       ensure
+        File.delete cmdfile # always drop the command file
         FileUtils.rm_rf tmpdir unless temp
       end
     end