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