+
Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

feat(rome_cli): print number of errors in summary #3651

Merged
merged 6 commits into from
Nov 14, 2022
Merged

feat(rome_cli): print number of errors in summary #3651

merged 6 commits into from
Nov 14, 2022

Conversation

SuperchupuDev
Copy link
Contributor

@SuperchupuDev SuperchupuDev commented Nov 10, 2022

Summary

Prints the number of errors emitted on the check summary, or at least tries to. I'm not really experienced in Rust so it's very possible this breaks something / doesn't work as intended, but it does its job, I guess. Feel free to supersede or suggest changes if you have a better approach

Closes #3588

Test Plan

image

Commands ran:

cargo build
cargo run --bin rome check ./my-cool-ts-project

where my-cool-ts-project is a directory with a TypeScript file

@netlify
Copy link

netlify bot commented Nov 10, 2022

Deploy Preview for docs-rometools failed.

Built without sensitive environment variables

Name Link
🔨 Latest commit 049cdbd
🔍 Latest deploy log https://app.netlify.com/sites/docs-rometools/deploys/637264396d81f00008b6c66b

@SuperchupuDev SuperchupuDev requested a review from a team November 10, 2022 17:09
@MichaReiser MichaReiser added this to the 11.0.0 milestone Nov 10, 2022
@SuperchupuDev
Copy link
Contributor Author

somehow the snapshot tests are failing after updating them, any idea how i can fix it?

@ematipico
Copy link
Contributor

somehow the snapshot tests are failing after updating them, any idea how i can fix it?

We use insta. You have to install it via cargo: cargo install cargo-insta. Then run cargo insta review or cargo insta accept

Copy link
Contributor

@ematipico ematipico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Great contribution this one! 🚀

@sebmck sebmck merged commit 0287c05 into rome:main Nov 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

📎 Print the number of files with errors in check summary
4 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载