Update Library/Homebrew/dev-cmd/edit.rb

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Anatoli Babenia 2023-09-25 18:03:57 +03:00 committed by GitHub
parent cbee941502
commit e3c0dafbc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,11 +81,10 @@ module Homebrew
action = "create a new formula"
end
message = <<~EOS
raise UsageError, <<~EOS
#{name} doesn't exist on disk.
Run #{Formatter.identifier(command)} to #{action}!
EOS
raise UsageError, message
end
sig { void }