mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 04:32:30 +08:00
Docs: fix export issue to prevent docs generation from failing. (#32929)
* fixing docs generation issue. * jsdoc fixes * raised limit Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
This commit is contained in:
@ -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=1061
|
||||
WARNINGS_COUNT_LIMIT=1071
|
||||
|
||||
if [ "$WARNINGS_COUNT" -gt $WARNINGS_COUNT_LIMIT ]; then
|
||||
echo -e "API Extractor warnings/errors $WARNINGS_COUNT exceeded $WARNINGS_COUNT_LIMIT so failing build.\n"
|
||||
|
Reference in New Issue
Block a user