Merge pull request #13454 from apainintheneck/livecheck-watchlist-path
This commit is contained in:
commit
4103f9dd0e
@ -11,10 +11,7 @@ module Homebrew
|
|||||||
|
|
||||||
module_function
|
module_function
|
||||||
|
|
||||||
WATCHLIST_PATH = (
|
WATCHLIST_PATH = File.expand_path(Homebrew::EnvConfig.livecheck_watchlist).freeze
|
||||||
Homebrew::EnvConfig.livecheck_watchlist ||
|
|
||||||
"#{Dir.home}/.brew_livecheck_watchlist"
|
|
||||||
).freeze
|
|
||||||
|
|
||||||
sig { returns(CLI::Parser) }
|
sig { returns(CLI::Parser) }
|
||||||
def livecheck_args
|
def livecheck_args
|
||||||
|
|||||||
@ -223,7 +223,8 @@ module Homebrew
|
|||||||
HOMEBREW_LIVECHECK_WATCHLIST: {
|
HOMEBREW_LIVECHECK_WATCHLIST: {
|
||||||
description: "Consult this file for the list of formulae to check by default when no formula argument " \
|
description: "Consult this file for the list of formulae to check by default when no formula argument " \
|
||||||
"is passed to `brew livecheck`.",
|
"is passed to `brew livecheck`.",
|
||||||
default: "$HOME/.brew_livecheck_watchlist",
|
default_text: "$HOME/.brew_livecheck_watchlist",
|
||||||
|
default: "~/.brew_livecheck_watchlist",
|
||||||
},
|
},
|
||||||
HOMEBREW_LOGS: {
|
HOMEBREW_LOGS: {
|
||||||
description: "Use this directory to store log files.",
|
description: "Use this directory to store log files.",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user