lib/terraspace/compiler/writer.rb in terraspace-0.1.2 vs lib/terraspace/compiler/writer.rb in terraspace-0.2.0

- old
+ new

@@ -17,10 +17,10 @@ def dest_dir if @mod.is_a?(Terraspace::Mod::Remote) File.dirname(@src_path) # for Mod::Remote src is dest else - @mod.cache_build_dir + @mod.cache_dir end end def write(content) FileUtils.mkdir_p(File.dirname(dest_path))