Removed unneeded newline (moved to end of directory not found message)

This commit is contained in:
Brian Pursley 2020-01-28 20:51:24 -05:00
parent f60c0af977
commit 48ee18b516
2 changed files with 0 additions and 2 deletions

View File

@ -169,7 +169,6 @@ func (o *PluginListOptions) Run() error {
}
}
if len(pluginErrors) > 0 {
fmt.Fprintln(o.ErrOut)
errs := bytes.NewBuffer(nil)
for _, e := range pluginErrors {
fmt.Fprintln(errs, e)

View File

@ -108,7 +108,6 @@ func TestPluginPathsAreValid(t *testing.T) {
return ioutil.TempFile(tempDir, "notkubectl-")
},
expectErr: "unable to find any kubectl plugins in your PATH",
expectErrOut: "\n",
},
{
name: "ensure de-duplicated plugin-paths slice",