formula_cellar_checks: fix alignment when listing files

The extra spacing came from before we used squiggly heredocs. Now that
we do, they're no longer necessary, and produce misaligned output.
This commit is contained in:
Carlo Cabrera 2021-10-10 14:16:10 +08:00
parent 1eaf8dbbec
commit 72f7ab8bfc
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -59,7 +59,7 @@ module FormulaCellarChecks
install to "libexec" and then symlink or wrap binaries into "bin". install to "libexec" and then symlink or wrap binaries into "bin".
See formulae 'activemq', 'jruby', etc. for examples. See formulae 'activemq', 'jruby', etc. for examples.
The offending files are: The offending files are:
#{jars * "\n "} #{jars * "\n "}
EOS EOS
end end
@ -84,7 +84,7 @@ module FormulaCellarChecks
Non-libraries were installed to "#{formula.lib}". Non-libraries were installed to "#{formula.lib}".
Installing non-libraries to "lib" is discouraged. Installing non-libraries to "lib" is discouraged.
The offending files are: The offending files are:
#{non_libraries * "\n "} #{non_libraries * "\n "}
EOS EOS
end end
@ -114,7 +114,7 @@ module FormulaCellarChecks
Homebrew suggests that this software is installed to "libexec" and then Homebrew suggests that this software is installed to "libexec" and then
symlinked as needed. symlinked as needed.
The offending files are: The offending files are:
#{generics * "\n "} #{generics * "\n "}
EOS EOS
end end
@ -127,7 +127,7 @@ module FormulaCellarChecks
These '.pth' files are likely to cause link conflicts. These '.pth' files are likely to cause link conflicts.
Please invoke `setup.py` using 'Language::Python.setup_install_args'. Please invoke `setup.py` using 'Language::Python.setup_install_args'.
The offending files are: The offending files are:
#{pth_found * "\n "} #{pth_found * "\n "}
EOS EOS
end end
@ -165,7 +165,7 @@ module FormulaCellarChecks
They should instead be installed into: They should instead be installed into:
#{share}/emacs/site-lisp/#{name} #{share}/emacs/site-lisp/#{name}
The offending files are: The offending files are:
#{elisps * "\n "} #{elisps * "\n "}
EOS EOS
end end
@ -199,9 +199,9 @@ module FormulaCellarChecks
<<~EOS <<~EOS
Packages have been installed for: Packages have been installed for:
#{pythons * "\n "} #{pythons * "\n "}
but this formula depends on: but this formula depends on:
#{python_deps * "\n "} #{python_deps * "\n "}
EOS EOS
end end