Skip to content

Commit

Permalink
Unbreak rubocop change
Browse files Browse the repository at this point in the history
Deps must be passed first and target_dir second. Rubocop appears
to have misunderstood which version of vendor_jars is about to be
called.

See #79
  • Loading branch information
headius committed Dec 10, 2024
1 parent e35accc commit df35d52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jars/installer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def do_install(vendor_dir, write_require_file)
end
deps = install_dependencies
self.class.write_require_jars(deps, jars_file)
self.class.vendor_jars(target_dir, write_require_file: deps) if vendor_dir
self.class.vendor_jars(deps, target_dir) if vendor_dir
end

def install_dependencies
Expand Down

0 comments on commit df35d52

Please sign in to comment.