Commit f7ee16b2 authored by Marius Rackwitz's avatar Marius Rackwitz

Remove unnecessary mkdir in Generator::ModuleMap#save_as

parent 9d118240
...@@ -24,7 +24,6 @@ module Pod ...@@ -24,7 +24,6 @@ module Pod
# @return [void] # @return [void]
# #
def save_as(path) def save_as(path)
FileUtils.mkdir_p(path + '..')
contents = generate contents = generate
path.open('w') do |f| path.open('w') do |f|
f.write(contents) f.write(contents)
......
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