Update Library/Homebrew/dev-cmd/edit.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
cbee941502
commit
e3c0dafbc4
@ -81,11 +81,10 @@ module Homebrew
|
|||||||
action = "create a new formula"
|
action = "create a new formula"
|
||||||
end
|
end
|
||||||
|
|
||||||
message = <<~EOS
|
raise UsageError, <<~EOS
|
||||||
#{name} doesn't exist on disk.
|
#{name} doesn't exist on disk.
|
||||||
Run #{Formatter.identifier(command)} to #{action}!
|
Run #{Formatter.identifier(command)} to #{action}!
|
||||||
EOS
|
EOS
|
||||||
raise UsageError, message
|
|
||||||
end
|
end
|
||||||
|
|
||||||
sig { void }
|
sig { void }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user