lib/terraspace/builder.rb in terraspace-2.2.4 vs lib/terraspace/builder.rb in terraspace-2.2.5
- old
+ new
@@ -67,10 +67,10 @@
def build_dir(type_dir)
with_each_mod(type_dir) do |mod|
is_root_module = mod.cache_dir == @mod.cache_dir
next if is_root_module # handled by build_stacks
- Compiler::Perform.new(mod).compile
+ Compiler::Perform.new(mod, type_dir: type_dir).compile
end
end
def clean
Compiler::Cleaner.new(@mod, @options).clean if clean?