Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail fast on wrong sourceroot #298

Closed
olafurpg opened this issue Aug 18, 2017 · 0 comments
Closed

Fail fast on wrong sourceroot #298

olafurpg opened this issue Aug 18, 2017 · 0 comments
Labels
Milestone

Comments

@olafurpg
Copy link
Contributor

Currently, if you pass in a wrong sourceroot then the inputs then some files to be fixed may not have semantic information. Scalafix will still continue to run semantic rewrites, which get no lookup matches in SemanticCtx, perform no diff, and scalafix exits with code 0, OK.

Scalafix should fail fast if a file to be fixed has no associated semantic information.

@olafurpg olafurpg added the cli label Aug 18, 2017
@olafurpg olafurpg modified the milestone: v0.5 Aug 18, 2017
bjaglin pushed a commit to liancheng/scalafix that referenced this issue May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant