From bc66f9bffc7e2d4f0ff475a942c0514c4916c487 Mon Sep 17 00:00:00 2001 From: Mark Gilbert <50398495+MarkProminic@users.noreply.github.com> Date: Mon, 8 Jan 2024 21:56:38 -0600 Subject: [PATCH] fix: linting changes --- lib/vagrant-zones/action/package.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/vagrant-zones/action/package.rb b/lib/vagrant-zones/action/package.rb index f20f42c..908eda6 100644 --- a/lib/vagrant-zones/action/package.rb +++ b/lib/vagrant-zones/action/package.rb @@ -128,21 +128,13 @@ def snapshot_send(datasetpath, destination, datetime, uii, config) puts "#{@pfexec} zfs send -r #{datasetpath}/boot@vagrant_box#{datetime} > #{destination}" if result.zero? && config.debug end - - # This method copies the include files (passed in via command line) to the # temporary directory so they are included in a sub-folder within the actual box def copy_include_files(include_files, destination, uii) include_files.each do |from, dest| include_directory = Pathname.new(destination) - - # We place the file in the include directory to = include_directory.join(dest) - - uii.info I18n.t('vagrant.actions.general.package.packaging', file: from) FileUtils.mkdir_p(to.parent) - - # Copy directory contents recursively. if File.directory?(from) FileUtils.cp_r(Dir.glob(from), to.parent, preserve: true) else