Skip to content

Commit

Permalink
fix errors in rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
colby-swandale committed Nov 1, 2018
1 parent 3988bc5 commit ab22780
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions lib/rake/packagetask.rb
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,7 @@ def define
task package: ["#{package_dir}/#{file}"]
file "#{package_dir}/#{file}" =>
[package_dir_path] + package_files do
chdir(package_dir) do
sh @tar_command, "#{flag}cvf", file, package_name
end
chdir(package_dir) { sh @tar_command, "#{flag}cvf", file, package_name }
end
end
end
Expand All @@ -143,9 +141,7 @@ def define
task package: ["#{package_dir}/#{zip_file}"]
file "#{package_dir}/#{zip_file}" =>
[package_dir_path] + package_files do
chdir(package_dir) do
sh @zip_command, "-r", zip_file, package_name
end
chdir(package_dir) { sh @zip_command, "-r", zip_file, package_name }
end
end

Expand Down

0 comments on commit ab22780

Please sign in to comment.