mirror of
https://github.com/go-task/task.git
synced 2025-06-23 00:38:19 +02:00
add unit test for spacing between summaries
This commit is contained in:
@ -69,14 +69,15 @@ func printNoDescriptionOrSummary(l *logger.Logger) {
|
||||
}
|
||||
|
||||
func printTaskDependencies(l *logger.Logger, t *taskfile.Task) {
|
||||
hasDependencies := len(t.Deps) > 0
|
||||
if hasDependencies {
|
||||
l.Outf("")
|
||||
l.Outf("dependencies:")
|
||||
if len(t.Deps) == 0 {
|
||||
return
|
||||
}
|
||||
|
||||
for _, d := range t.Deps {
|
||||
l.Outf(" - %s", d.Task)
|
||||
}
|
||||
l.Outf("")
|
||||
l.Outf("dependencies:")
|
||||
|
||||
for _, d := range t.Deps {
|
||||
l.Outf(" - %s", d.Task)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user