clean up and linting fix
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user