mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
formulary: fix constant redefined warning.
This commit is contained in:
parent
4f7bd240e1
commit
6be0b57a82
@ -52,6 +52,7 @@ module Formulary
|
|||||||
require "formula"
|
require "formula"
|
||||||
|
|
||||||
mod = Module.new
|
mod = Module.new
|
||||||
|
remove_const(namespace) if const_defined?(namespace)
|
||||||
const_set(namespace, mod)
|
const_set(namespace, mod)
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user