File tree Expand file tree Collapse file tree 5 files changed +190
-822
lines changed
Expand file tree Collapse file tree 5 files changed +190
-822
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @redocly/cli " : patch
3+ ---
4+
5+ Fixed the ` build-docs ` command failure when React 19 is installed in the project folder.
Original file line number Diff line number Diff line change @@ -297,9 +297,9 @@ jobs:
297297 docker run --rm -v $PWD:/spec redocly/cli:latest bundle openapi.yaml --ext json
298298 docker run --rm -v $PWD:/spec redocly/cli:latest build-docs openapi.yaml
299299 # Check for broken styles (related issue: https://github.com/Redocly/redocly-cli/issues/1073)
300- if [[ "$(wc -l redoc-static.html)" == "300 redoc-static.html" ]]; then
300+ if [[ "$(wc -l redoc-static.html)" == "324 redoc-static.html" ]]; then
301301 echo "Docs built correctly."
302302 else
303- echo "Docs built incorrectly. Received lines: $(wc -l redoc-static.html) (expected 300 lines in redoc-static.html)."
303+ echo "Docs built incorrectly. Received lines: $(wc -l redoc-static.html) (expected 324 lines in redoc-static.html)."
304304 exit 1
305305 fi
Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ $2 redocly-lint
1717$2 redocly-bundle
1818$2 redocly-build-docs
1919# Check for broken styles (related issue: https://github.com/Redocly/redocly-cli/issues/1073)
20- if [[ " $( wc -l redoc-static.html) " == " 300 redoc-static.html" ]]; then
20+ if [[ " $( wc -l redoc-static.html) " == " 324 redoc-static.html" ]]; then
2121 echo " Docs built correctly."
2222else
23- echo " Docs built incorrectly. Received lines: $( wc -l redoc-static.html) (expected 300 lines in redoc-static.html)."
23+ echo " Docs built incorrectly. Received lines: $( wc -l redoc-static.html) (expected 324 lines in redoc-static.html)."
2424 exit 1
2525fi
You can’t perform that action at this time.
0 commit comments