From 75045e91f8d66177fccc0d5c012ae1615c4644bb Mon Sep 17 00:00:00 2001 From: Nanda H Krishna Date: Mon, 6 Feb 2023 13:50:39 -0500 Subject: [PATCH] `brew style --fix` --- Library/Homebrew/download_strategy.rb | 2 +- Library/Homebrew/extend/pathname.rb | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index b217588e57..29a04553da 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -830,8 +830,8 @@ class GitDownloadStrategy < VCSDownloadStrategy end # @see VCSDownloadStrategy#last_commit - sig { returns(String) } # @api public + sig { returns(String) } def last_commit out, = silent_command("git", args: ["--git-dir", git_dir, "rev-parse", "--short=7", "HEAD"]) out.chomp diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index 7b6cb276c1..f447afe1c6 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -484,7 +484,6 @@ module ObserverPathnameExtension end sig { returns([Integer, Integer]) } - def counts [n, d] end