maven@3.5: fix rubocop 0.65.0 style.

This commit is contained in:
Mike McQuaid 2019-02-19 13:28:13 +00:00
parent 45332b6707
commit 9ef8023fe6

View file

@ -24,8 +24,10 @@ class MavenAT35 < 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