decreasing frontend docs threshold. (#29304)

This commit is contained in:
Marcus Andersson 2020-11-23 14:30:46 +01:00 committed by GitHub
parent b44a41aab3
commit dce998711e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ if [ ! -d "$REPORT_PATH" ]; then
fi fi
WARNINGS_COUNT="$(find "$REPORT_PATH" -type f -name \*.log -print0 | xargs -0 grep -o "Warning: " | wc -l | xargs)" WARNINGS_COUNT="$(find "$REPORT_PATH" -type f -name \*.log -print0 | xargs -0 grep -o "Warning: " | wc -l | xargs)"
WARNINGS_COUNT_LIMIT=1075 WARNINGS_COUNT_LIMIT=1058
if [ "$WARNINGS_COUNT" -gt $WARNINGS_COUNT_LIMIT ]; then if [ "$WARNINGS_COUNT" -gt $WARNINGS_COUNT_LIMIT ]; then
echo -e "API Extractor warnings/errors $WARNINGS_COUNT exceeded $WARNINGS_COUNT_LIMIT so failing build.\n" echo -e "API Extractor warnings/errors $WARNINGS_COUNT exceeded $WARNINGS_COUNT_LIMIT so failing build.\n"