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
mix credo diff --from-git-ref master showing issues in files not modified #1028
Comments
|
I may be doing something wrong with how I am trying to accomplish this. If there is another way I am more than open to making an update to my flow. |
|
The diff ended up actually working an the issue was related to a third-party check |
|
@rrrene reopening because I am seeing an issue. When I branch from I am running the following: |
|
@dantuck I tried to reproduce this with version |
|
There is actually a misunderstanding as to what the command is supposed to do. I accomplished what I was trying to do through a plugin. What I was intending to do was only run credo on changes in the code and not on the whole repository. Thank you for trying to reproduce. |
Environment
mix credo -v):1.6.7elixir -v):What were you trying to do?
I have a repo that I only want to run checks on files changed. The checks should run from the
defaultgit repo (masterin my case). No files have been changed yet issues are found in files that are not being modified.I have done the following:
git fetch origin master:masterand verified the commit is the latest on mastermix credo diff --from-git-ref master /app/folderExpected outcome
Expect no issues.
Actual outcome
Issues found in folder specified.
The text was updated successfully, but these errors were encountered: