From e43aa220c0e923738cf3424b541d3db75c2161bb Mon Sep 17 00:00:00 2001 From: Ryan McKinley Date: Fri, 29 Mar 2019 22:21:24 -0700 Subject: [PATCH] Fix: Build report the correct directives before failing (#16312) --- scripts/ci-frontend-metrics.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci-frontend-metrics.sh b/scripts/ci-frontend-metrics.sh index 0ead197b3de..4024d767aab 100755 --- a/scripts/ci-frontend-metrics.sh +++ b/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