Docs: added code comments to frontend packages. (#28784)

* fixed docs linting errors.

* decreased the limit.
This commit is contained in:
Marcus Andersson
2020-11-03 14:54:14 +01:00
committed by GitHub
parent 8954130f1a
commit 212bf7a4f6
2 changed files with 9 additions and 1 deletions

View File

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