Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
viljarb0
2026-02-05 17:41:40 +01:00
committed by GitHub
parent fc10092bb2
commit 9e7eb96227

View File

@@ -22,10 +22,6 @@ var deleteCmd = &cobra.Command{
func runDeleteCmd(cmd *cobra.Command, args []string) error { func runDeleteCmd(cmd *cobra.Command, args []string) error {
deleteID := strings.Join(args, " ") deleteID := strings.Join(args, " ")
if deleteID == "" {
return fmt.Errorf("issue ID cannot be empty")
}
issue := &models.Issue{ issue := &models.Issue{
ID: deleteID, ID: deleteID,
} }