From 7a5eb3dbdb943b6dfcc617ee98a883ae36e02001 Mon Sep 17 00:00:00 2001 From: Phoenix Eliot Date: Tue, 8 Feb 2022 12:14:00 -0500 Subject: [PATCH] Fix rubocop warning --- Library/Homebrew/brew.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/brew.rb b/Library/Homebrew/brew.rb index d1d342cfcd..1423097280 100644 --- a/Library/Homebrew/brew.rb +++ b/Library/Homebrew/brew.rb @@ -121,7 +121,7 @@ begin possible_tap = Tap.fetch(possible_tap.first) if possible_tap if !possible_tap || possible_tap.installed? || Tap.untapped_official_taps.include?(possible_tap.name) - if cmd == 'cask' # Check for cask explicitly because it's very common in old guides + if cmd == "cask" # Check for cask explicitly because it's very common in old guides odie "`brew cask ` is no longer supported. Use `brew --cask` instead." end odie "Unknown command: #{cmd}"