1
0
mirror of https://github.com/go-task/task.git synced 2025-11-25 22:32:55 +02:00

custom stdout for InitTaskfile func

This commit is contained in:
Andrey Nering
2017-07-30 19:29:49 -03:00
parent dc1ec77da5
commit bb1aff84cf
3 changed files with 6 additions and 5 deletions

View File

@@ -289,7 +289,7 @@ func TestInit(t *testing.T) {
t.Errorf("Taskfile.yml should not exists")
}
if err := task.InitTaskfile(dir); err != nil {
if err := task.InitTaskfile(ioutil.Discard, dir); err != nil {
t.Error(err)
}