lib/modulesync.rb in modulesync-0.8.1 vs lib/modulesync.rb in modulesync-0.8.2

- old
+ new

@@ -79,11 +79,11 @@ templatename = local_file(options[:configs], filename) begin erb = Renderer.build(templatename) template = Renderer.render(erb, configs) Renderer.sync(template, module_file(options[:project_root], module_name, filename)) - rescue + rescue # rubocop:disable Lint/RescueWithoutErrorClass STDERR.puts "Error while rendering #{filename}" raise end end end @@ -130,10 +130,10 @@ # managed_modules is either an array or a hash managed_modules.each do |puppet_module, module_options| begin manage_module(puppet_module, module_files, module_options, defaults, options) - rescue + rescue # rubocop:disable Lint/RescueWithoutErrorClass STDERR.puts "Error while updating #{puppet_module}" raise unless options[:skip_broken] puts "Skipping #{puppet_module} as update process failed" end end