Skip to content

Commit 5487dc5

Browse files
authored
ci: update codacy-variation-fallback.yml
1 parent 18baecc commit 5487dc5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/codacy-variation-fallback.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,12 @@ jobs:
4343
EXCLUDES=$(yq '.exclude_paths[]' "$FILE_NAME" 2>/dev/null || true)
4444
STATIC_IGNORES=".github/**"$'\n'"$FILE_NAME"
4545
ALL_PATHS="$EXCLUDES"$'\n'"$STATIC_IGNORES"
46-
FORMATTED_LIST="relevant_files:"$'\n'"- **"
46+
FORMATTED_LIST="relevant_files:"$'\n'"- \"**\""
4747
4848
# Format the list
4949
while IFS= read -r line; do
50-
# Solo procesamos líneas que no estén vacías
5150
if [[ -n "$line" ]]; then
52-
# Generamos la negación: "- !ruta"
53-
FORMATTED_LIST="$FORMATTED_LIST"$'\n'"- !${line}"
51+
FORMATTED_LIST="$FORMATTED_LIST"$'\n'"- \"!${line}\""
5452
fi
5553
done <<< "$ALL_PATHS"
5654

0 commit comments

Comments
 (0)