add remove_const to cancel warning

This commit is contained in:
hyuraku 2023-01-24 21:57:39 +09:00
parent 97bba59e73
commit 8289089482
2 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,9 @@
# frozen_string_literal: true
module Homebrew
remove_const(:DEFAULT_PREFIX)
DEFAULT_PREFIX = HOMEBREW_LINUX_DEFAULT_PREFIX
remove_const(:DEFAULT_REPOSITORY)
DEFAULT_REPOSITORY = HOMEBREW_LINUX_DEFAULT_REPOSITORY
end

View File

@ -2,6 +2,9 @@
# frozen_string_literal: true
module Homebrew
remove_const(:DEFAULT_PREFIX)
DEFAULT_PREFIX = HOMEBREW_MACOS_ARM_DEFAULT_PREFIX
remove_const(:DEFAULT_REPOSITORY)
DEFAULT_REPOSITORY = HOMEBREW_MACOS_ARM_DEFAULT_REPOSITORY
end