Skip to content

Commit

Permalink
Fix invalid comment on Task Script 👼
Browse files Browse the repository at this point in the history
Args are passed to the script in case of using Script.

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
  • Loading branch information
vdemeester authored and tekton-robot committed Oct 19, 2020
1 parent ecb9557 commit 810fef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apis/pipeline/v1beta1/task_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ type Step struct {

// Script is the contents of an executable file to execute.
//
// If Script is not empty, the Step cannot have an Command or Args.
// If Script is not empty, the Step cannot have an Command and the Args will be passed to the Script.
Script string `json:"script,omitempty"`
// Timeout is the time after which the step times out. Defaults to never.
// Refer to Go's ParseDuration documentation for expected format: https://golang.org/pkg/time/#ParseDuration
Expand Down

0 comments on commit 810fef5

Please sign in to comment.