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 and ZhongRuoyu committed Jul 14, 2024
1 parent 3bc01a4 commit 8ae18f4
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,

Check warning on line 29 in Library/Homebrew/cmd/--repository.rb

View check run for this annotation

Codecov / codecov/patch

Library/Homebrew/cmd/--repository.rb#L29

Added line #L29 was not covered by tests
"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 8ae18f4

Please sign in to comment.