Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue/289 #290

Merged
merged 3 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@

### New Artifacts Properties

- Added the new 'redirect_stderr_to_stdout' property, an optional feature available exclusively for the command collector. When set to true, this property redirects all error messages (stderr) to standard output (stdout), ensuring they are written to the output file.
- Added the new 'redirect_stderr_to_stdout' property, an optional feature available exclusively for the command collector. When set to true, this property redirects all error messages (stderr) to standard output (stdout), ensuring they are written to the output file.

### Fixes

- Resolves an issue where the hash and stat collectors failed to function correctly when the %user_home% variable was included in the path property ([#289](https://github.com/tclahr/uac/issues/289)).
4 changes: 2 additions & 2 deletions lib/parse_artifact.sh
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ _parse_artifact()
"${__pa_new_output_directory}" \
"${__pa_new_output_file}"
elif [ "${__pa_collector}" = "hash" ]; then
_file_collector \
_find_based_collector \
"hash" \
"${__pa_new_path}" \
"${__pa_is_file_list}" \
Expand All @@ -387,7 +387,7 @@ _parse_artifact()
"${__pa_new_output_directory}" \
"${__pa_new_output_file}"
elif [ "${__pa_collector}" = "stat" ]; then
_file_collector \
_find_based_collector \
"stat" \
"${__pa_new_path}" \
"${__pa_is_file_list}" \
Expand Down