refactor: bubble errors from ListTaskNames

This commit is contained in:
Pete Davison
2024-02-19 21:15:51 +00:00
committed by Andrey Nering
parent ba81181eb7
commit 07a0b8938f
2 changed files with 4 additions and 6 deletions

View File

@@ -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 {