Skip to content

Commit

Permalink
cmd/--repository.rb: tweak error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid authored Jul 14, 2024
1 parent 901f910 commit 86807d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Library/Homebrew/cmd/--repository.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ def self.command_name = "--repository"

sig { override.void }
def run
raise StandardError, "This command is not meant to be run."
raise StandardError,
"This command is just here for completions generation. " \
"It's actually defined in `cmd/--repository.sh` instead."
end
end
end
Expand Down

0 comments on commit 86807d0

Please sign in to comment.