audit: remove trailing newline check.
This is already done by the default RuboCop configuration.
This commit is contained in:
parent
b0d3414fdb
commit
3546c39581
@ -271,8 +271,6 @@ module Homebrew
|
|||||||
problem "'inreplace ... do' was used for a single substitution (use the non-block form instead)."
|
problem "'inreplace ... do' was used for a single substitution (use the non-block form instead)."
|
||||||
end
|
end
|
||||||
|
|
||||||
problem "File should end with a newline" unless text.trailing_newline?
|
|
||||||
|
|
||||||
if formula.core_formula? && @versioned_formula
|
if formula.core_formula? && @versioned_formula
|
||||||
unversioned_formula = begin
|
unversioned_formula = begin
|
||||||
# build this ourselves as we want e.g. homebrew/core to be present
|
# build this ourselves as we want e.g. homebrew/core to be present
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user