Skip to content

Commit

Permalink
fix: linting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkProminic committed Jan 9, 2024
1 parent 13893a7 commit 895fb1f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/vagrant-zones/action/package.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 895fb1f

Please sign in to comment.