Browse Source

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

Ryan McKinley 7 năm trước cách đây
mục cha
commit
e43aa220c0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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