Fix reading HOMEBREW_LIVECHECK_WATCHLIST file
This commit is contained in:
parent
2b4f3646b7
commit
518af675fb
@ -58,7 +58,7 @@ module Homebrew
|
||||
args.formulae
|
||||
elsif File.exist?(WATCHLIST_PATH)
|
||||
begin
|
||||
WATCHLIST_PATH.read.lines.map do |line|
|
||||
Pathname.new(WATCHLIST_PATH).read.lines.map do |line|
|
||||
next if line.start_with?("#")
|
||||
|
||||
Formula[line.strip]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user