mirror of
https://github.com/go-task/task.git
synced 2025-05-31 23:19:42 +02:00
Fix typo 🤦
This commit is contained in:
parent
7e0346d6eb
commit
454988f657
6
help.go
6
help.go
@ -11,17 +11,17 @@ import (
|
|||||||
|
|
||||||
// ListTasksWithDesc reports tasks that have a description spec.
|
// ListTasksWithDesc reports tasks that have a description spec.
|
||||||
func (e *Executor) ListTasksWithDesc() {
|
func (e *Executor) ListTasksWithDesc() {
|
||||||
e.pringTasks(false)
|
e.printTasks(false)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// ListAllTasks reports all tasks, with or without a description spec.
|
// ListAllTasks reports all tasks, with or without a description spec.
|
||||||
func (e *Executor) ListAllTasks() {
|
func (e *Executor) ListAllTasks() {
|
||||||
e.pringTasks(true)
|
e.printTasks(true)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
func (e *Executor) pringTasks(listAll bool) {
|
func (e *Executor) printTasks(listAll bool) {
|
||||||
var tasks []*taskfile.Task
|
var tasks []*taskfile.Task
|
||||||
if listAll {
|
if listAll {
|
||||||
tasks = e.allTaskNames()
|
tasks = e.allTaskNames()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user