Skip to content

Commit

Permalink
Merge pull request #640 from Homebrew/brew_too_old
Browse files Browse the repository at this point in the history
cmd/services: note when Homebrew is too old.
  • Loading branch information
MikeMcQuaid authored Apr 2, 2024
2 parents 51f249e + 3abd020 commit cd15471
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/services.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# frozen_string_literal: true

if Version.new(HOMEBREW_VERSION) < Version.new("4.2.15")
odie "Your Homebrew is too outdated for `brew services`. Please run `brew update`!"
end

require "abstract_command"

module Homebrew
Expand Down

0 comments on commit cd15471

Please sign in to comment.