Fix feedback

This commit is contained in:
Theodor S. Midtlien
2026-06-08 16:15:07 +02:00
parent 23c82b32ff
commit 7b0f5f42f3
4 changed files with 24 additions and 2 deletions
+1 -1
View File
@@ -148,8 +148,8 @@ func addProfileFunc(cmd *cobra.Command, args []string) error {
ProfileName: profileName,
Username: currUser.Username,
})
id := profilemanager.ID(resp.Id)
if err == nil {
id := profilemanager.ID(resp.Id)
cmd.Printf("Profile added: %s %s\n", id.ShortID(), profilemanager.StripCtrlChars(profileName))
return nil
}