maven: fix rubocop 0.65.0 style.

This commit is contained in:
Mike McQuaid 2019-02-19 13:28:12 +00:00
parent 7e67c3f2ff
commit 6c90cd9316

View file

@ -24,8 +24,10 @@ class Maven < Formula
# file will be found relative to it
Pathname.glob("#{libexec}/bin/*") do |file|
next if file.directory?
basename = file.basename
next if basename.to_s == "m2.conf"
(bin/basename).write_env_script file, Language::Java.overridable_java_home_env
end
end