Skip to content

Commit

Permalink
Fix shellcheck issue with variable usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Raleksan committed Oct 3, 2024
1 parent a16a41b commit bbe243f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion steps/report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ for idx in "${!groups[@]}"; do
group_metrics=$(grep -oP ".*\[\b${groups[$idx]}\b\].*" "${list}")
fi
while IFS= read -r metric; do
clean_metric=$(echo "$metric" | sed 's/\[[^]]*\]//g')
clean_metric=$(echo "${metric}" | sed 's/\[[^]]*\]//g')
printf "\t%s\n" "$clean_metric" >> "${st_list}"
done <<< "$group_metrics"
printf "\\\\end{itemize}\n" >> "${st_list}"
Expand Down

0 comments on commit bbe243f

Please sign in to comment.