Skip to content

Commit 0f65b49

Browse files
authored
Update builder.go
Addressing errors
1 parent a652ac3 commit 0f65b49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builder.go

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

106106
// Tasks satisfies the TaskSet interface to avoid the need to call Build(). It is equivalent to
107-
// calling Must(Build()).
107+
// calling Must(Build()).Tasks().
108108
func (b *TaskBuilder[T]) Tasks() []Task {
109109
return Must(b.Build()).Tasks()
110110
}
@@ -211,7 +211,7 @@ func (b *MultiTaskBuilder) Build() (TaskSet, error) {
211211
}
212212

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

0 commit comments

Comments
 (0)