Redocly / redocly-cli

⚒️ Redocly CLI makes OpenAPI easy. Lint/validate to any standard, generate beautiful docs, and more.
https://redocly.com/docs/cli/
MIT License
910 stars 139 forks source link

chore: update error messages #1571

Closed tatomyr closed 4 months ago

tatomyr commented 4 months ago

What/Why/How?

Updated a couple of error messages to make the format more consistent. We don't need the extra lines as the exitWithError function already adds them.

Also corrected the wrong url: https://github.com/Redocly/redocly-cli/pull/1571/files#diff-2fb448d11702324cc59d657d5945d59cd325540eb87b71f2e66a5bc01ada834cR730

Reference

Testing

Screenshots (optional)

Check yourself

Security

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: b2761fe41bf303de90035cec7202f74925328370

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | --------------------- | ----- | | @redocly/cli | Patch | | @redocly/openapi-core | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

github-actions[bot] commented 4 months ago
Command Mean [ms] Min [ms] Max [ms] Relative
redocly lint packages/core/src/benchmark/benches/rebilly.yaml 987.0 ± 22.0 965.7 1028.0 1.00
redocly-next lint packages/core/src/benchmark/benches/rebilly.yaml 1000.9 ± 17.0 977.0 1029.8 1.01 ± 0.03
github-actions[bot] commented 4 months ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟡 Statements 77.25% 4481/5801
🟡 Branches 67.48% 2467/3656
🟡 Functions 70.86% 744/1050
🟡 Lines 77.43% 4214/5442

Test suite run success

735 tests passing in 102 suites.

Report generated by 🧪jest coverage report action from b2761fe41bf303de90035cec7202f74925328370