cartodb/spec/support/setup_dirs.rb

6 lines
136 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +08:00
dirs = []
dirs << Rails.root.join('public', 'uploads', 'failed_imports')
dirs.each{|dir| FileUtils.mkdir_p dir unless Dir.exist? dir}