mirror of
https://github.com/go-task/task.git
synced 2025-01-26 05:27:15 +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.
|
||||
func (e *Executor) ListTasksWithDesc() {
|
||||
e.pringTasks(false)
|
||||
e.printTasks(false)
|
||||
return
|
||||
}
|
||||
|
||||
// ListAllTasks reports all tasks, with or without a description spec.
|
||||
func (e *Executor) ListAllTasks() {
|
||||
e.pringTasks(true)
|
||||
e.printTasks(true)
|
||||
return
|
||||
}
|
||||
|
||||
func (e *Executor) pringTasks(listAll bool) {
|
||||
func (e *Executor) printTasks(listAll bool) {
|
||||
var tasks []*taskfile.Task
|
||||
if listAll {
|
||||
tasks = e.allTaskNames()
|
||||
|
Loading…
x
Reference in New Issue
Block a user