Skip to content

Commit 7c993e4

Browse files
committed
fix: k6: do not log k6 script contents before execution
1 parent 6a9bfa8 commit 7c993e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/k6runner/local.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ func (r Local) Run(ctx context.Context, script Script, secretStore SecretStore)
119119
cmd.Env = k6Env(os.Environ())
120120

121121
start := time.Now()
122-
logger.Info().Str("command", cmd.String()).Bytes("script", script.Script).Msg("running k6 script")
122+
logger.Info().Str("command", cmd.String()).Msg("running k6 script")
123123
err = cmd.Run()
124124

125125
duration := time.Since(start)

0 commit comments

Comments
 (0)