File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,10 +109,12 @@ elif [ "VERIFY_BOT" = "$BOT" ] ; then
109109
110110 if [ -f " $REPORT " ]; then
111111 echo " Comparing baseline against report in $REPORT "
112- grep " ^*" " $REPORT " | sort > current_issues.tmp
112+ # Normalize the specific constructor signature to ignore parameter names.
113+ # This bridges the gap between local builds (with names) and CI builds (without names).
114+ grep " ^*" " $REPORT " | sed -E ' s/DartTemplateContextType\.<init>\([^)]+\)/DartTemplateContextType.<init>(args)/' | sort > current_issues.tmp
113115
114116 if [ -f " $BASELINE " ]; then
115- NEW_ERRORS=$( comm -13 <( sort " $BASELINE " ) current_issues.tmp)
117+ NEW_ERRORS=$( comm -13 <( sed -E ' s/DartTemplateContextType\.<init>\([^)]+\)/DartTemplateContextType.<init>(args)/ ' " $BASELINE " | sort ) current_issues.tmp)
116118
117119 if [ -n " $NEW_ERRORS " ]; then
118120 echo -e " ${RED}${BOLD} Error: New verification issues found for version $version :${NC} "
You can’t perform that action at this time.
0 commit comments