Skip to content

Commit 06c2ac6

Browse files
committed
Update support/support.go
1 parent 2e47462 commit 06c2ac6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

support/support.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,8 @@ func Run(ctx context.Context, d *Deps) (*Bundle, error) {
352352
return &b, nil
353353
}
354354

355-
// sanitizeEnv modifies kvs in place and erases the values of keys containing
356-
// the strings "secret", "token", or "pass"
355+
// sanitizeEnv modifies kvs in place and replaces the values all non-empty keys
356+
// with the string ***REDACTED***
357357
func sanitizeEnv(kvs map[string]string) {
358358
for k, v := range kvs {
359359
if v != "" {

0 commit comments

Comments
 (0)