-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix spelling errors caught by codespell
#1150
Conversation
Build failed. ❌ unit-test RETRY_LIMIT in 6m 41s |
See also: #1146 Signed-off-by: Amrit Brar <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fixes, @amritbrar ! Why did you delete your branch and close this pull request?
By the way, could you please use a working email address for Git?
@@ -62,7 +62,7 @@ func completionCommands(cmd *cobra.Command, _ []string, _ string) ([]string, cob | |||
commandNames := []string{} | |||
commands := cmd.Root().Commands() | |||
for _, command := range commands { | |||
if strings.Contains(command.Name(), "complet") { | |||
if strings.Contains(command.Name(), "complete") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if there was a deliberate desire to search for a sub-string or check the prefix here? It's curious that it uses strings.Contains
instead of a simpler comparison.
The tests seem to have failed because of some networking problems. For example:
... and:
|
Was it because of #1149 from @nievesmontero ? |
See also: #1146