From 774adaf43537c536ccdaaf0ffe0b208d737d44cc Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 28 Mar 2019 10:34:02 +0000 Subject: [PATCH] exceptions: remove unused scp exception. The code was removed but the exception was not. --- Library/Homebrew/exceptions.rb | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index 7e47382b5..80c263353 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -512,13 +512,6 @@ class CurlDownloadStrategyError < RuntimeError end end -# Raised in {ScpDownloadStrategy#fetch}. -class ScpDownloadStrategyError < RuntimeError - def initialize(cause) - super "Download failed: #{cause}" - end -end - # Raised by {#safe_system} in `utils.rb`. class ErrorDuringExecution < RuntimeError attr_reader :cmd