Skip to content

Commit

Permalink
Make invalid choice message a warning in stacks and pgkmanagers remove
Browse files Browse the repository at this point in the history
  • Loading branch information
pietrodicaprio authored Jul 11, 2023
1 parent d15e062 commit 5c9ee17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/pkgManagers.go
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ func rmPkgManager(cmd *cobra.Command, args []string) error {
case "n\n":
validChoice = true
default:
cmdr.Info.Println(apx.Trans("apx.errors.invalidChoice"))
cmdr.Warning.Println(apx.Trans("apx.errors.invalidChoice"))
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/stacks.go
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ func removeStack(cmd *cobra.Command, args []string) error {
case "n\n":
validChoice = true
default:
cmdr.Info.Println(apx.Trans("apx.errors.invalidChoice"))
cmdr.Warning.Println(apx.Trans("apx.errors.invalidChoice"))
}
}
}
Expand Down

0 comments on commit 5c9ee17

Please sign in to comment.