Procházet zdrojové kódy

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

Ryan McKinley před 6 roky
rodič
revize
e43aa220c0
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      scripts/ci-frontend-metrics.sh

+ 1 - 1
scripts/ci-frontend-metrics.sh

@@ -16,7 +16,7 @@ if [ $ERROR_COUNT -gt $ERROR_COUNT_LIMIT ]; then
 fi
 
 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
 fi