We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba35cc6 commit 7b8b801Copy full SHA for 7b8b801
gexec/session.go
@@ -142,7 +142,9 @@ will wait for the command to exit then return the entirety of Out's contents.
142
Wait uses eventually under the hood and accepts the same timeout/polling intervals that eventually does.
143
*/
144
func (s *Session) Wait(timeout ...interface{}) *Session {
145
- EventuallyWithOffset(1, s, timeout...).Should(Exit())
+ args := []any{s}
146
+ args = append(args, timeout...)
147
+ EventuallyWithOffset(1, args...).Should(Exit())
148
return s
149
}
150
0 commit comments