diff --git a/lib/vagrant-zones/action/package.rb b/lib/vagrant-zones/action/package.rb index cd1b3ff..541a8e7 100644 --- a/lib/vagrant-zones/action/package.rb +++ b/lib/vagrant-zones/action/package.rb @@ -54,8 +54,6 @@ def call(env) if env['package.include'] env['package.include'].each do |file| source = Pathname.new(file) - dest = nil - dest = if source.relative? source else @@ -72,8 +70,7 @@ def call(env) # Verify the mapping files.each_key do |from| - raise Vagrant::Errors::PackageIncludeMissing, - file: from unless File.exist?(from) + raise Vagrant::Errors::PackageIncludeMissing, file: from unless File.exist?(from) end # Save the mapping