[x] All new jobs, commands, executors, parameters have descriptions
[x] Examples have been added for any significant new features
[x] README has been updated, if necessary
(n/a)
Motivation, issues
I noticed when using the env-info command that the logs weren't actually accumulating data as intended. Rather, each write ended up replacing the previously written data from the same command execution.
for example, the build_info.log file should have 8 lines worth of content, but I was only getting 1 (the last one, CIRCLE_REPOSITORY_URL).
Description
This PR fixes the log writes so that the first write to each log creates/replaces anything there previously, while the ensuing writes are appended to their respective files.
Checklist
Motivation, issues
I noticed when using the
env-info
command that the logs weren't actually accumulating data as intended. Rather, each write ended up replacing the previously written data from the same command execution.for example, the
build_info.log
file should have 8 lines worth of content, but I was only getting 1 (the last one,CIRCLE_REPOSITORY_URL
).Description
This PR fixes the log writes so that the first write to each log creates/replaces anything there previously, while the ensuing writes are appended to their respective files.