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 7045405 commit 2a7647fCopy full SHA for 2a7647f
command.go
@@ -236,8 +236,8 @@ func (c *Command) Context() context.Context {
236
return c.ctx
237
}
238
239
-// SetContext sets context for the command. It is set to context.Background by default and will be overwritten by
240
-// Command.ExecuteContext or Command.ExecuteContextC
+// SetContext sets context for the command. This context will be overwritten by
+// Command.ExecuteContext or Command.ExecuteContextC.
241
func (c *Command) SetContext(ctx context.Context) {
242
c.ctx = ctx
243
0 commit comments