From 56ef168e7088962ba7b1cdc3da89d30842a8eb69 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sun, 20 Aug 2017 16:23:15 +0200 Subject: Move fix from #3070 inside `GitHub` module. --- Library/Homebrew/cask/lib/hbc/cli/search.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'Library/Homebrew/cask/lib') diff --git a/Library/Homebrew/cask/lib/hbc/cli/search.rb b/Library/Homebrew/cask/lib/hbc/cli/search.rb index b299f03ce..e89dced92 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/search.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/search.rb @@ -15,7 +15,6 @@ module Hbc end def self.search_remote(query) - return [] if ENV["HOMEBREW_NO_GITHUB_API"] matches = GitHub.search_code(user: "caskroom", path: "Casks", filename: query, extension: "rb") matches.map do |match| -- cgit v1.2.3