mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-13 19:33:48 +00:00
Improved parsing filename & link for scan results
This commit is contained in:
1 file changed
+3
-3
@@ -808,9 +808,9 @@ jobs:
|
||||
|
||||
# Append each file and link to the changelog:
|
||||
for item in "${analysis_array[@]}"; do
|
||||
filename=$(echo $item | cut -d'=' -f1)
|
||||
link=$(echo $item | cut -d'=' -f2)
|
||||
changelog="$changelog\n- [$(basename $filename)]($link)"
|
||||
filename=$(echo $item | cut -d'=' -f1 | xargs)
|
||||
link=$(echo $item | cut -d'=' -f2 | xargs)
|
||||
changelog="$changelog\n- [$(basename "$filename")]($link)"
|
||||
done
|
||||
|
||||
# Export the modified changelog (using HEREDOC syntax for multi-line support):
|
||||
|
||||
Reference in new issue
Block a user