1
0
mirror of https://github.com/go-task/task.git synced 2025-01-12 04:34:11 +02:00

Revert "list: print message with there's no task with description"

This reverts commit 2508bed363.

I still want to do this, but since it break some existing Taskfiles,
let's give a little more thought on this first.
This commit is contained in:
Andrey Nering 2017-11-19 18:12:16 -02:00
parent 9619c7f54d
commit e065dcb816

View File

@ -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)