clean up and linting fix

This commit is contained in:
Christian Goll
2022-07-18 15:04:32 +02:00
parent 26fff30897
commit 1dd519a7e6
3 changed files with 2 additions and 12 deletions

View File

@@ -34,7 +34,7 @@ func CobraRunE(cmd *cobra.Command, args []string) (err error) {
if !SetYes {
// The checks run twice in the prompt case.
// Avoiding putting in a blocking prompt in an API.
apiprofile.AddProfile(&set, false)
err = apiprofile.AddProfile(&set, false)
if err != nil {
return
}