cartodb-4.42/spec/support/setup_dirs.rb

6 lines
136 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +08:00
dirs = []
dirs << Rails.root.join('public', 'uploads', 'failed_imports')
dirs.each{|dir| FileUtils.mkdir_p dir unless Dir.exist? dir}