mcp_server: add missing style changed argument.

Co-authored-by: Rylan Polster <rslpolster@gmail.com>
This commit is contained in:
Mike McQuaid 2025-08-23 20:40:20 +01:00 committed by GitHub
parent addff82ff4
commit faafc6636d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -362,6 +362,7 @@ module Homebrew
when :style when :style
style_args = [] style_args = []
style_args << "--fix" if arguments["fix"] style_args << "--fix" if arguments["fix"]
style_args << "--changed" if arguments["changed"]
file_arguments = arguments.fetch("files", "").strip.split file_arguments = arguments.fetch("files", "").strip.split
style_args.concat(file_arguments) unless file_arguments.empty? style_args.concat(file_arguments) unless file_arguments.empty?
style_args style_args