Commit 171a7b79 authored by Tiffany Rea's avatar Tiffany Rea

Fix No such file or directory in delete job

parent 3b690084
...@@ -81,6 +81,7 @@ module QA ...@@ -81,6 +81,7 @@ module QA
return puts "\nNothing to download!" if files_list.empty? return puts "\nNothing to download!" if files_list.empty?
FileUtils.mkdir_p('tmp/')
files_list.each do |file_name| files_list.each do |file_name|
local_path = "tmp/#{file_name.split('/').last}" local_path = "tmp/#{file_name.split('/').last}"
Runtime::Logger.info("Downloading #{file_name} to #{local_path}") Runtime::Logger.info("Downloading #{file_name} to #{local_path}")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment