Skip to content

Commit a7c5d66

Browse files
authored
Update builder.go
1 parent 27f1362 commit a7c5d66

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

builder.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ func (b *TaskBuilder[T]) Build() (TaskSet, error) {
107107
}
108108

109109
// Tasks satisfies the TaskSet interface to avoid the need to call Build(). It is equivalent to
110-
// calling Must(Build()).
110+
// calling Must(Build()).Tasks().
111111
func (b *TaskBuilder[T]) Tasks() []Task {
112112
return Must(b.Build()).Tasks()
113113
}
@@ -214,7 +214,7 @@ func (b *MultiTaskBuilder) Build() (TaskSet, error) {
214214
}
215215

216216
// Tasks satisfies the TaskSet interface to avoid the need to call Build(). It is equivalent to
217-
// calling Must(Build()).
217+
// calling Must(Build()).Tasks().
218218
func (b *MultiTaskBuilder) Tasks() []Task {
219219
return Must(b.Build()).Tasks()
220220
}

0 commit comments

Comments
 (0)