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:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user