From 3546c39581aac81e811c7ab26aab0be10c490a8a Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 15 Apr 2020 20:47:35 +0100 Subject: [PATCH] audit: remove trailing newline check. This is already done by the default RuboCop configuration. --- Library/Homebrew/dev-cmd/audit.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 1dee0052ce..a4e6a98775 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -271,8 +271,6 @@ module Homebrew problem "'inreplace ... do' was used for a single substitution (use the non-block form instead)." end - problem "File should end with a newline" unless text.trailing_newline? - if formula.core_formula? && @versioned_formula unversioned_formula = begin # build this ourselves as we want e.g. homebrew/core to be present