From e065dcb81659e5b3c38255ece1702d6c408ffebe Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Sun, 19 Nov 2017 18:12:16 -0200 Subject: [PATCH] Revert "list: print message with there's no task with description" This reverts commit 2508bed36353f1056b13cd16096b6351ec44d8aa. I still want to do this, but since it break some existing Taskfiles, let's give a little more thought on this first. --- help.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/help.go b/help.go index 87d38098..f009e080 100644 --- a/help.go +++ b/help.go @@ -10,10 +10,9 @@ import ( func (e *Executor) PrintTasksHelp() { tasks := e.tasksWithDesc() if len(tasks) == 0 { - e.outf("task: No tasks with description available") return } - e.outf("task: Available tasks for this project:") + e.outf("Available tasks for this project:") // Format in tab-separated columns with a tab stop of 8. w := tabwriter.NewWriter(e.Stdout, 0, 8, 0, '\t', 0)