From cc8e45591171ca09c2632dcb3aaa9398b2af5fb7 Mon Sep 17 00:00:00 2001 From: "L. E. Segovia" Date: Thu, 12 Oct 2017 07:39:53 -0300 Subject: [PATCH] Remove unknown_command variable --- Library/Homebrew/cask/lib/hbc/cli.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/Library/Homebrew/cask/lib/hbc/cli.rb b/Library/Homebrew/cask/lib/hbc/cli.rb index bd50e41a62..437b0d72c6 100644 --- a/Library/Homebrew/cask/lib/hbc/cli.rb +++ b/Library/Homebrew/cask/lib/hbc/cli.rb @@ -230,7 +230,6 @@ module Hbc return if @command == "help" && @args.empty? - unknown_command = @args.empty? ? @command : @args.first raise ArgumentError, "Unknown command: #{@command} #{@args.join(" ")}" end