Merge pull request #7157 from MikeMcQuaid/an-commit

formulary: fix typo.
This commit is contained in:
Mike McQuaid 2020-03-11 13:39:37 +00:00 committed by GitHub
commit ee69c5aec3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -206,7 +206,7 @@ module Formulary
if url =~ %r{githubusercontent.com/[\w-]+/[\w-]+/[a-f0-9]{40}(/Formula)?/([\w+-.@]+).rb}
formula_name = Regexp.last_match(2)
opoo <<~EOS
Unsupported installation from an commit URL!
Unsupported installation from a commit URL!
Consider using `brew extract #{formula_name} ...` instead!"
This will extract your desired #{formula_name} version to a stable tap instead of
installing from a commit URL that cannnot receive updates or fixes!