lib/itamae/resource/directory.rb in itamae-1.0.0.beta29 vs lib/itamae/resource/directory.rb in itamae-1.0.0.beta30
- old
+ new
@@ -26,10 +26,10 @@
if action == :create
@attributes[:exist?] = true
end
end
- def create_action
+ def create_action(options)
if !run_specinfra(:check_file_is_directory, path)
run_specinfra(:create_file_as_directory, path)
end
if attributes[:mode]
run_specinfra(:change_file_mode, path, attributes[:mode])