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
Regression by v1.0.4: Commented-out heredocs #646
Comments
Ha, great detective work! 👍 |
@indocomsoft Thanks for reporting this 😀 It is now fixed on You can try this by setting the Credo dep to {:credo, github: "rrrene/credo"} Please report back if your issue is solved! 👍 |
That seems to solve the issue. Thank you very much! Will be looking forward to this being released on hex |
@rrrene thanks for the hard work! when will this be released on hex? |
@indocomsoft @jiachen247 It's on hex now: https://hex.pm/packages/credo/1.0.5 Sorry for the delay! 👍 |
Environment
mix credo -v
): 1.0.4elixir -v
):What were you trying to do?
Running
mix credo
.Expected outcome
Before 1.0.4, Credo does not report any error on files with commented out heredocs, https://github.com/source-academy/cadet/blob/master/lib/cadet/course/course.ex#L98.
Actual outcome
Since 1.0.4, Credo complains about trailing white-spaces:
If I delete the commented out code in the file, credo 1.0.4 does not complain about anything. However, Credo 1.0.3 and before worked just fine even with the commented out code in the file.
I bisected the regression to commit 7a92ac2
The text was updated successfully, but these errors were encountered: