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 298dd84 commit 45b9f68Copy full SHA for 45b9f68
entrypoint.sh
@@ -51,8 +51,17 @@ run_reviewdog_with_config() {
51
}
52
53
separate_violations() {
54
+ echo "📝 DEBUG: Conteúdo do CODENARC_RESULT:"
55
+ cat "$CODENARC_RESULT"
56
+ echo "📝 DEBUG: Fim do CODENARC_RESULT"
57
+
58
grep -E ':[0-9]+:' "$CODENARC_RESULT" > "$LINE_VIOLATIONS" || true
59
grep -E ':null:|\|\|' "$CODENARC_RESULT" > "$FILE_VIOLATIONS" || true
60
61
+ echo "📝 DEBUG: Line violations capturadas:"
62
+ [ -s "$LINE_VIOLATIONS" ] && cat "$LINE_VIOLATIONS" || echo "Nenhuma"
63
+ echo "📝 DEBUG: File violations capturadas:"
64
+ [ -s "$FILE_VIOLATIONS" ] && cat "$FILE_VIOLATIONS" || echo "Nenhuma"
65
66
67
run_reviewdog() {
0 commit comments