Fix audit errors in dev-cmd/bump-revision.rb
- Method alignment was bad across line break in 3 places.
This commit is contained in:
parent
191898ced5
commit
b52e23c3ff
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user