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 547d81d commit b0cc1c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/vagrant-zones/action/package.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def call(env)
include_files = files
end

copy_include_files(include_files, tmp_dir, env[:ui])
copy_include_files(include_files, tmp_dir)

## Create the Metadata and Vagrantfile
Dir.chdir(tmp_dir)
Expand All @@ -89,7 +89,7 @@ def call(env)
'format' => 'zss',
'kernel' => kernel,
'url' => 'https://app.vagrantup.com/#{vcc}/boxes/#{boxshortname}'
}
}

File.write('./metadata.json', metadata_content_hash)

Expand All @@ -100,7 +100,7 @@ def call(env)
Vagrant.configure("2") do |config|
Hosts.configure(config, settings)
end}
vagrantfile_content = File.read(user_vagrantfile ) if File.exist?(user_vagrantfile)
vagrantfile_content = File.read(user_vagrantfile) if File.exist?(user_vagrantfile)
File.write('./Vagrantfile', vagrantfile_content)

## Create the Box file
Expand Down Expand Up @@ -131,7 +131,7 @@ def snapshot_send(datasetpath, destination, datetime, uii, config)

# 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)
def copy_include_files(include_files, destination)
include_files.each do |from, dest|
include_directory = Pathname.new(destination)
to = include_directory.join(dest)
Expand Down

0 comments on commit b0cc1c3

Please sign in to comment.