Merge pull request #19544 from Homebrew/bundle_services_brew
bundle/brew_services: use HOMEBREW_BREW_FILE.
This commit is contained in:
commit
261e8fc9f8
@ -40,7 +40,7 @@ module Homebrew
|
|||||||
def started_services
|
def started_services
|
||||||
@started_services ||= begin
|
@started_services ||= begin
|
||||||
states_to_skip = %w[stopped none]
|
states_to_skip = %w[stopped none]
|
||||||
Utils.safe_popen_read("brew", "services", "list").lines.filter_map do |line|
|
Utils.safe_popen_read(HOMEBREW_BREW_FILE, "services", "list").lines.filter_map do |line|
|
||||||
name, state, _plist = line.split(/\s+/)
|
name, state, _plist = line.split(/\s+/)
|
||||||
next if states_to_skip.include? state
|
next if states_to_skip.include? state
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user