diff options
| author | Andrew Janke | 2016-04-18 17:39:21 -0400 |
|---|---|---|
| committer | Andrew Janke | 2016-04-21 14:45:33 -0400 |
| commit | a3b70d38a72400451594f7c11853ef2b379a3bca (patch) | |
| tree | e74d76dd1de346aa7376d96a404b1173341c4e3e /Library/Homebrew/diagnostic.rb | |
| parent | 534d6fd5275a43bd5cc03b1aa19a4a39641a028f (diff) | |
| download | brew-a3b70d38a72400451594f7c11853ef2b379a3bca.tar.bz2 | |
brew-audit: pull style checks in to main audit output
This collects all violations for each formula in a single place, instead
of doing `brew style` outputs for all formulae first, and then the other
audit checks.
Closes #112.
Signed-off-by: Andrew Janke <andrew@apjanke.net>
Diffstat (limited to 'Library/Homebrew/diagnostic.rb')
| -rw-r--r-- | Library/Homebrew/diagnostic.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index c0ecf018e..a048f0761 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -85,21 +85,6 @@ module Homebrew end ############# END HELPERS - def inject_dump_stats! - self.extend Module.new { - def send(method, *) - time = Time.now - super - ensure - $times[method] = Time.now - time - end - } - $times = {} - at_exit do - puts $times.sort_by { |_k, v| v }.map { |k, v| "#{k}: #{v}" } - end - end - # See https://github.com/Homebrew/homebrew/pull/9986 def check_path_for_trailing_slashes all_paths = ENV["PATH"].split(File::PATH_SEPARATOR) |
