diff options
| author | mo khan <mo@mokhan.ca> | 2024-05-24 16:28:45 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2024-05-24 16:28:45 -0600 |
| commit | 6faac7eca8e9e76ea96a0734692bc414a008a853 (patch) | |
| tree | d5e33d25570293e14c4769704009bd5cd40f2cf6 /bin/build | |
| parent | afa52f1b80923f898ccad5cbae0d1b4d8239aa9c (diff) | |
remove sector from dir path
Diffstat (limited to 'bin/build')
| -rwxr-xr-x | bin/build | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -89,12 +89,8 @@ class Census erb = ERB.new(IO.read("templates/city.md.erb"), trim_mode: "-") IO.write("#{dir}/README.md", erb.result(binding)) - each do |community| - target_dir = "#{dir}/#{community[:sector].parameterize}" - FileUtils.mkdir_p(target_dir, verbose: true) - spawn "touch #{target_dir}/README.md" - community.create_content_in(target_dir) + community.create_content_in(dir) end end end |
