Skip to content

Commit

Permalink
Remove unneeded method.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed Jul 16, 2024
1 parent d383cd4 commit 73fd778
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Library/Homebrew/api/download.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
module Homebrew
module API
class DownloadStrategy < CurlDownloadStrategy
sig { returns(String) }
def name # rubocop:disable Lint/UselessMethodDefinition
super
end

sig { override.returns(Pathname) }
def symlink_location
cache/name
Expand Down Expand Up @@ -43,12 +38,12 @@ def downloader

sig { override.returns(String) }
def name
downloader.name
download_name
end

sig { override.returns(String) }
def download_type
"API"
"API source"
end

sig { override.returns(Pathname) }
Expand Down

0 comments on commit 73fd778

Please sign in to comment.