From 6be0b57a8237b113a27a5243bef9a5469f4cb031 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 31 Mar 2021 09:27:07 +0100 Subject: [PATCH] formulary: fix constant redefined warning. --- Library/Homebrew/formulary.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/formulary.rb b/Library/Homebrew/formulary.rb index 52734a8d0c..7534f0d375 100644 --- a/Library/Homebrew/formulary.rb +++ b/Library/Homebrew/formulary.rb @@ -52,6 +52,7 @@ module Formulary require "formula" mod = Module.new + remove_const(namespace) if const_defined?(namespace) const_set(namespace, mod) begin