Merge pull request #5314 from RandomDSdevel/fix-brew-deps-include-optional-output-typo

brew deps:  Fix typo in `--include-optional` output.
This commit is contained in:
Jonathan Chang 2018-11-13 17:20:40 +11:00 committed by GitHub
commit 323556c27f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,7 +130,7 @@ module Homebrew
if ARGV.include?("--annotate")
str = "#{str} [build]" if dep.build?
str = "#{str} [test]" if dep.test?
str = "#{str} [optional" if dep.optional?
str = "#{str} [optional]" if dep.optional?
str = "#{str} [recommended]" if dep.recommended?
end