From d5e600e3afb0579fba7f07a24ce6fc0009475744 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sat, 10 Oct 2020 16:06:48 +0200 Subject: [PATCH] Remove unknown `Homebrew::Error` class. --- Library/Homebrew/dev-cmd/pr-pull.rb | 2 +- Library/Homebrew/sorbet/rbi/todo.rbi | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/dev-cmd/pr-pull.rb b/Library/Homebrew/dev-cmd/pr-pull.rb index 0c4c0d7219..92ab956137 100644 --- a/Library/Homebrew/dev-cmd/pr-pull.rb +++ b/Library/Homebrew/dev-cmd/pr-pull.rb @@ -352,7 +352,7 @@ module Homebrew when :env_token curl_args = ["--header", "Authorization: token #{token}"] when :none - raise Error, "Credentials must be set to access the Artifacts API" + raise "Credentials must be set to access the Artifacts API" end # Download the artifact as a zip file and unpack it into `dir`. This is diff --git a/Library/Homebrew/sorbet/rbi/todo.rbi b/Library/Homebrew/sorbet/rbi/todo.rbi index 72cca22f83..f5fc66d3cc 100644 --- a/Library/Homebrew/sorbet/rbi/todo.rbi +++ b/Library/Homebrew/sorbet/rbi/todo.rbi @@ -4,7 +4,6 @@ # typed: strong module ::StackProf; end module DependencyCollector::Compat; end -module Homebrew::Error; end module OS::Mac::Version::NULL; end module SPDX::JSON_PATH; end module T::InterfaceWrapper::Helpers; end