We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d76801 commit be656c6Copy full SHA for be656c6
1 file changed
.github/actions/run-linter/action.yml
@@ -50,7 +50,7 @@ runs:
50
echo "Changed files:"
51
printf '%s\n' "${CHANGED_FILES[@]}"
52
# Filter out any empty strings that may have been added to the array
53
- CHANGED_FILES=("${CHANGED_FILES[@]}" | grep -v '^$')
+ readarray -t CHANGED_FILES < <(printf '%s\n' "${CHANGED_FILES[@]}" | grep -v '^$')
54
if [[ "${#CHANGED_FILES[@]}" -eq 0 ]]; then
55
echo "No changed cpp files after filtering."
56
exit 0
0 commit comments