mirror of
https://github.com/go-task/task.git
synced 2026-06-11 09:51:50 +00:00
refactor: bubble errors from ListTaskNames
This commit is contained in:
committed by
Andrey Nering
parent
ba81181eb7
commit
07a0b8938f
@@ -265,8 +265,7 @@ func run() error {
|
||||
}
|
||||
|
||||
if (listOptions.ShouldListTasks()) && flags.silent {
|
||||
e.ListTaskNames(flags.listAll)
|
||||
return nil
|
||||
return e.ListTaskNames(flags.listAll)
|
||||
}
|
||||
|
||||
if err := e.Setup(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user