Fixes panic on task --list

Fixes #99
This commit is contained in:
Andrey Nering
2018-03-11 14:39:40 -03:00
parent 5649f75a8d
commit 120d0be84c
4 changed files with 17 additions and 16 deletions

View File

@@ -98,7 +98,7 @@ func main() {
Stdout: os.Stdout,
Stderr: os.Stderr,
}
if err := e.ReadTaskfile(); err != nil {
if err := e.Setup(); err != nil {
log.Fatal(err)
}