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 dff09fd Simplify
dff09fd is described below
commit dff09fd86729379a8a5da7b13c915322ba488fbf
Author: Sebb <[email protected]>
AuthorDate: Fri Jul 24 22:31:04 2020 +0100
Simplify
---
www/secretary/workbench/models/message.rb | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/www/secretary/workbench/models/message.rb
b/www/secretary/workbench/models/message.rb
index b2ccc30..c4d3555 100644
--- a/www/secretary/workbench/models/message.rb
+++ b/www/secretary/workbench/models/message.rb
@@ -188,8 +188,7 @@ class Message
# create directory, if necessary
dest = File.join(repos, filename).untaint
unless File.exist? dest
- Dir.mkdir dest
- Kernel.system 'svn', 'add', dest
+ Kernel.system 'svn', 'mkdir', dest
end
# write out selected attachment