Skip to content

Commit

Permalink
grammar fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
moritamori committed Feb 16, 2021
1 parent 12fed2a commit 735e6ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cobra/cmd/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func TestGoldenInitCmd(t *testing.T) {
expectErr: true,
},
{
name: "returns error when passing an relative path for project",
name: "returns error when passing a relative path for project",
args: []string{"github.com/spf13/testproject"},
pkgName: "github.com/spf13/testproject",
expectErr: true,
Expand Down
2 changes: 1 addition & 1 deletion powershell_completions.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ Register-ArgumentCompleter -CommandName '%[1]s' -ScriptBlock {
# filter the result
$_.Name -like "$WordToComplete*"
# Join the flag back if we have a equal sign flag
# Join the flag back if we have an equal sign flag
if ( $IsEqualFlag ) {
__%[1]s_debug "Join the equal sign flag back to the completion value"
$_.Name = $Flag + "=" + $_.Name
Expand Down

0 comments on commit 735e6ca

Please sign in to comment.