We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18baecc commit 5487dc5Copy full SHA for 5487dc5
.github/workflows/codacy-variation-fallback.yml
@@ -43,14 +43,12 @@ jobs:
43
EXCLUDES=$(yq '.exclude_paths[]' "$FILE_NAME" 2>/dev/null || true)
44
STATIC_IGNORES=".github/**"$'\n'"$FILE_NAME"
45
ALL_PATHS="$EXCLUDES"$'\n'"$STATIC_IGNORES"
46
- FORMATTED_LIST="relevant_files:"$'\n'"- **"
+ FORMATTED_LIST="relevant_files:"$'\n'"- \"**\""
47
48
# Format the list
49
while IFS= read -r line; do
50
- # Solo procesamos líneas que no estén vacías
51
if [[ -n "$line" ]]; then
52
- # Generamos la negación: "- !ruta"
53
- FORMATTED_LIST="$FORMATTED_LIST"$'\n'"- !${line}"
+ FORMATTED_LIST="$FORMATTED_LIST"$'\n'"- \"!${line}\""
54
fi
55
done <<< "$ALL_PATHS"
56
0 commit comments