Skip to content

Commit 2213b05

Browse files
committed
plugin store target_link, path the mkdir
1 parent 9b57aa9 commit 2213b05

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/store/target_link.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ def run
2323
feeds.items.each {|feed|
2424
unless feed.link.nil?
2525
Automatic::Log.puts("info", "Downloading: #{feed.link}")
26+
FileUtils.mkdir_p(@config['path']) unless FileTest.exist?(@config['path'])
2627
retries = 0
2728
begin
2829
retries += 1

0 commit comments

Comments
 (0)