mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fix: Build report the correct directives before failing (#16312)
This commit is contained in:
parent
545da8ffb0
commit
e43aa220c0
@ -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…
Reference in New Issue
Block a user