Fix: Build report the correct directives before failing (#16312)

pull/16313/head
Ryan McKinley 6 years ago committed by Torkel Ödegaard
parent 545da8ffb0
commit e43aa220c0
  1. 2
      scripts/ci-frontend-metrics.sh

@ -16,7 +16,7 @@ if [ $ERROR_COUNT -gt $ERROR_COUNT_LIMIT ]; then
fi fi
if [ $DIRECTIVES -gt $DIRECTIVES_LIMIT ]; then if [ $DIRECTIVES -gt $DIRECTIVES_LIMIT ]; then
echo -e "Directive count $ERROR_COUNT exceeded $DIRECTIVES_LIMIT so failing build" echo -e "Directive count $DIRECTIVES exceeded $DIRECTIVES_LIMIT so failing build"
exit -1 exit -1
fi fi

Loading…
Cancel
Save