Skip to content

Commit

Permalink
Add step ID output to secretEnv replacement log.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseaton committed May 25, 2023
1 parent ae2ba01 commit b63ad2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion localbuilder_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func run(ctx context.Context, source string) error {
if index >= 0 {
s.Env = append(s.Env, fmt.Sprintf("%s=%s", k, strings.ReplaceAll(v, "\n", "\\n")))
s.SecretEnv = slices.Delete(s.SecretEnv, index, index+1)
log.Printf("Found secretEnv '%s' matching env file key and replaced it.", k)
log.Printf("Step \"%s\": Found secretEnv '%s' matching env file key and replaced it.", s.Id, k)
}
}
}
Expand Down

0 comments on commit b63ad2c

Please sign in to comment.