1
0
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:
Andrey Nering 2022-01-04 17:19:38 -03:00
parent 7e0346d6eb
commit 454988f657

View File

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