Fix audit errors in dev-cmd/bump-revision.rb

- Method alignment was bad across line break in 3 places.
This commit is contained in:
Izaak Beekman 2019-05-14 12:03:06 -04:00
parent 191898ced5
commit b52e23c3ff
No known key found for this signature in database
GPG Key ID: A93CE70D8021BD0F

View File

@ -15,9 +15,9 @@ module Homebrew
present, "revision 1" will be added. present, "revision 1" will be added.
EOS EOS
switch "-n", "--dry-run", switch "-n", "--dry-run",
description: "Print what would be done rather than doing it." description: "Print what would be done rather than doing it."
flag "--message=", flag "--message=",
description: "Append the provided <message> to the default commit message." description: "Append the provided <message> to the default commit message."
switch :force switch :force
switch :quiet switch :quiet
@ -76,7 +76,7 @@ module Homebrew
else else
formula.path.parent.cd do formula.path.parent.cd do
safe_system "git", "commit", "--no-edit", "--verbose", safe_system "git", "commit", "--no-edit", "--verbose",
"--message=#{message}", "--", formula.path "--message=#{message}", "--", formula.path
end end
end end
end end